J
|
Jane 2/14/2007 |
Dave, $email="test@test.com"; $message="Hello there <b>construct your email in the HTML format here</b>"; $subject="Sample subject"; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r"; // Additional headers $headers .= 'To: Mary <mary@example.com>, Kelly <kelly@example.com>' . "\r"; $headers .= 'From: Birthday Reminder <birthday@example.com>' . "\r"; $headers .= 'Cc: birthdayarchive@example.com' . "\r"; $headers .= 'Bcc: birthdaycheck@example.com' . "\r"; mail($email, $subject, $message,$headers);
|