Page 1 of 1

Mail() PHPMailer()

Posted: Thu Feb 24, 2005 9:49 am
by neophyte
Does anybody know how to correctly set up the headers so MSN/Hotmail will accept emails from mail(). Microsoft is evil :evil:

Thanks

Posted: Thu Feb 24, 2005 9:56 am
by feyd

Posted: Thu Feb 24, 2005 10:00 am
by neophyte
Thanks Feyd that's a great thread. I tried searching the forums but I couldn't find what I was looking for...

I'll have to file that one away in my devnetwork goodies favorites folder

Thanks

Posted: Thu Feb 24, 2005 1:26 pm
by AGISB
The problem with mail() is that it sends the mail thru sendmail. Sendmail rewrites one of the from headers so it is different from the original send header.
You can use the last option of the mail() funktion but this will place a warning message in the header. I used phpmailer class and all is good now as the header is not rewritten.