chleng
01-03-2006, 04:54 AM
Hi,
php code,
<?
$to = 'aidan@yahoo.com'; //just an example to prevent spamming
$subject = 'Birthday Reminders for August';
$message = "<A HREF=\"www.cnn.com\">CNN</A>";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'To: Mary <mary@example.com>, Kelly <kelly@example.com>' . "\r\n";
$headers .= 'From: Birthday Reminder <birthday@example.com>' . "\r\n";
$headers .= 'Cc: birthdayarchive@example.com' . "\r\n";
$headers .= 'Bcc: birthdaycheck@example.com' . "\r\n";
?>
The problem with the above is It does print out CNN but when I tried to link cnn.com from my email, it fails to connect to www.cnn.com
thanks!
php code,
<?
$to = 'aidan@yahoo.com'; //just an example to prevent spamming
$subject = 'Birthday Reminders for August';
$message = "<A HREF=\"www.cnn.com\">CNN</A>";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'To: Mary <mary@example.com>, Kelly <kelly@example.com>' . "\r\n";
$headers .= 'From: Birthday Reminder <birthday@example.com>' . "\r\n";
$headers .= 'Cc: birthdayarchive@example.com' . "\r\n";
$headers .= 'Bcc: birthdaycheck@example.com' . "\r\n";
?>
The problem with the above is It does print out CNN but when I tried to link cnn.com from my email, it fails to connect to www.cnn.com
thanks!