You are here: Re: Email is blank to a .net address works fine for .com « All PHP « IT news, forums, messages
Re: Email is blank to a .net address works fine for .com

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация