I am trying to get it so that when I send a eMail out to my subscribers through my php mailing list; there will be an unsubscribe link. Currently I am doing so by using
PHP Code:
$unSub = "Unsubscribe: http://www.openkonga.org/mailing_list/unsubscribe.php?eMail={$user['eMail']}";
$body = "Greetings, $upperUser\n\n{$message}\n\n${unSub}";
Which works but its result is messy. Is there a way that I can make it so the text "Unsubscribe" is linked to http://www.openkonga.org/mailing_list/unsubscribe.php?eMail={$user['eMail']}
I've tried
PHP Code:
$unSub = "<a href="http://www.openkonga.org/mailing_list/unsubscribe.php?eMail={$user['eMail']}"Unsubscribe</a>"
but can't seem to get that to work. Is there something I am doing wrong with this syntax?