Re: Mail and hotmail
| From: | Christian Heinrich | Date: | Thu, 04 May 2006 17:32:28 +0000 |
| Subject: | Re: Mail and hotmail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235541@lists.php.net to get a copy of this message | ||
Hi Peter,
RFC 2156 (http://www.faqs.org/rfcs/rfc2156.html) defines the importance header as following:
importance = "low" / "normal" / "high"Which means that you can either use the values low, normal or high HTH, Christian
The only one I do not know what to set it to is "Importance". What values are possible there? Is it the same as for X-priority? Regards, Peter -----Original Message----- From: Angelo Zanetti [mailto:angelo@zlogic.co.za] Sent: Thursday, May 04, 2006 5:53 PM To: Peter Lauri Cc: php-general@lists.php.net Subject: Re: [PHP] Mail and hotmail Peter Lauri wrote:Best group member, I am sending email to a hotmail thru PHP. When I send it like this it arrives (in the junk mail, but it arrives): mail('theaddress@hotmail.com', 'A nice subject', 'Some text'); It works well, but I want to change the FROM header so I do this: mail('theaddress@hotmail.com', 'A nice subject', 'Some text', 'From: Peter Lauri <peter@lauri.se>'); This email does not arrive to the Hotmail inbox. If I send to a regular email, like Google Email (gmail) or a regular POP3itarrives without problems. Anyone who has experienced this problem with sending emails to Hotmail?Andhow do you solve it? Best regards, Peter Lauriyou need to set your mail headers for the mail to be assumed valid, namely: X-Sender From Date Subject Delivered-to MIME-Version Reply-To Content-type X-Priority Importance Return-Path X-Mailer HTH Angelo