RES: [PHP] Why my mails are not received by Hotmail users?
| From: | Thiago Pojda | Date: | Fri, 04 Apr 2008 14:45:49 +0000 |
| Subject: | RES: [PHP] Why my mails are not received by Hotmail users? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272527@lists.php.net to get a copy of this message | ||
These emails hit even my M$ Outlook spam filter (which is not very good at
this job)
Try sending something else, as Ryan said.
-----Mensagem original-----
De: Ryan Yagatich [mailto:ryagatich@pantek.com]
Enviada em: sexta-feira, 4 de abril de 2008 11:31
Para: thomas Armstrong
Cc: php-general@lists.php.net
Assunto: Re: [PHP] Why my mails are not received by Hotmail users?
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php