using ahref tag in $msg variable
| From: | Claudia Smith | Date: | Mon, 11 Mar 2002 18:12:47 +0000 |
| Subject: | using ahref tag in $msg variable | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88061@lists.php.net to get a copy of this message | ||
I would like to know how to code my mail msg to accept an <a href> tag
my current code is:
$msg = "$username wants you to check out \"The AdVentures of AdWoman:
AdWoman's Dilemma.\"\n\n";
$msg .= "Play for a chance to win a Caribbean cruise presented by
Carnival Cruise Line and <a
href='http://www.contus.com'>Contus.com</a>.\n\n";
$msg .= "This adgame is presented by the American Advertising
Federation, which cordially invites you to attend the <a
href='http://www.aaf.org'> AdVentures
Conference</a>, the AAF's National
Convention in Miami, Florida June 5-8.
$msg .= "This adgame was created by AdGames.biz.\n\n";
$mailheaders = "From: webmaster@adgames.biz\n";
$mailheaders .= "Reply-To: webmaster@adgames.biz\n\n";
mail("$friendemail1", "$username Referred you an Adgame!", $msg,
$mailheaders);
My auto response email is printed with the < a href=....code instead of
creating the hyperlink for me.
Any suggestions on how to create this type of hyper link in a non html
email?
Thanks