Re: Why my mails are not received by Hotmail users?
| From: | Ryan Yagatich | Date: | Fri, 04 Apr 2008 14:30:33 +0000 |
| Subject: | Re: Why my mails are not received by Hotmail users? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272526@lists.php.net to get a copy of this message | ||
thomas Armstrong wrote:
> Hi.
>
> I created this script to send emails:
> -------------------
> $mailFromEmail = "info@mydomain.com";
> $mailFromName = "MYDOMAIN";
> $mailTo = "jack@gmail.com";
>
> $mailHeaders =
> "From: $mailFromName <$mailFromEmail>\n"
> . "Content-Type: text/plain; "
> . "charset=UTF-8; format=flowed\n"
> . "MIME-Version: 1.0\n"
> . "Content-Transfer-Encoding: 8bit\n";
>
>
Hi Thomas.
I really hope that $mailFromEmail/$mailFromName are either set just like
you have them, or are sanitized prior to input -- otherwise, your email
has spammer written all over it!
> $mailSubject = "Hi! " . date('h:i:s A');
> $mailMessage = "Hi,\n\nHow are you?\n" . date('l dS \of F Y h:i:s A') .
> "\n";
>
>
Your body looks like spam - with a spam subject. Try sending something
that is a little more non-spammy :)
<snip>
Regards,
Ryan Yagatich
--
Pantek, Inc. - http://www.pantek.com/ - info@pantek.com
+1-877-LINUX-FIX - Expert Open Source Technical Support