|
Posted by Martin Jay on 05/10/06 16:37
In message <I7mdnbt3up4W3fzZnZ2dnUVZ_u-dnZ2d@comcast.com>, Joe Joe
<spamblocker@excite.com> writes
>I have a sign up process in place to view restricted documents. When a user
>signs up for the first time they are sent an Email to verify they are using
>a legitimate Email address. Click the link, return to the site to, Email is
>verified, given access to restricted area. Plain text Email, not html.
But it does appear to be an HMTL email. Perhaps the email client only
displays emails that are in plain text?
>/*
>$subject = "".$title;
>$message = ' <html> <head> <title></title> </head>
><body>'.$emailmessage.'</body></html> ';
>$headers = "MIME-Version: 1.0\r\n";
>$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
>$headers .= "To: <".$email.">\r\n"; $headers .= "From: ".$from.">\r\n";
>mail($to, $subject, $message, $headers);
>echo $from.' '.$email,' '.$title.' '.$message;
>*/
I would check the contents of the variables before mail(), and look at
the 'raw' content of the email received.
--
Martin Jay
Navigation:
[Reply to this message]
|