RE: [PHP] Mail and hotmail

From: Date: Thu, 04 May 2006 11:24:29 +0000
Subject: RE: [PHP] Mail and hotmail
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-235475@lists.php.net to get a copy of this message
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 POP3 it > arrives without problems. > > Anyone who has experienced this problem with sending emails to Hotmail? And > how do you solve it? > > Best regards, > Peter Lauri > you 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#235475) next »