Re: Email is blank to a .net address works fine for .com
- From: Martin Jay <martin@xxxxxxxxxxxxxxxx>
- Date: Wed, 10 May 2006 14:37:31 +0100
In message <I7mdnbt3up4W3fzZnZ2dnUVZ_u-dnZ2d@xxxxxxxxxxx>, Joe Joe <spamblocker@xxxxxxxxxx> 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
.
- Follow-Ups:
- Re: Email is blank to a .net address works fine for .com
- From: Joe Joe
- Re: Email is blank to a .net address works fine for .com
- References:
- Email is blank to a .net address works fine for .com
- From: Joe Joe
- Email is blank to a .net address works fine for .com
- Prev by Date: Re: PHP / CURL
- Next by Date: Help with ? and :
- Previous by thread: Re: Email is blank to a .net address works fine for .com
- Next by thread: Re: Email is blank to a .net address works fine for .com
- Index(es):