Hi,
I'm writing a script that basically sends contents of a form to a specified email address.
If the mail is being sent to an @excite.com user, they are not receiving it because their servers think its spam mail. I think it's because of the headers that are sent in the mail() function. Here's what I used:
(mail($email,$subject,$theURL.$message,"From: <$CDCOEmail>\r\nX-Sender: <$CDCOEmail>\r\nX-Mailer: PHP\r\nReturn-Path: <$CDCOEmail>\r\n"))
When I sent this to a hotmail.com account, and view the headers, the RETURN-PATH isn't what I specified. It's still the apache, nobody, user. So I think this is the source of my problem.
Does anybody know why the my mail() syntax above fails to resolve to the specified email address I used in the mail() arguments?
Thanks,
Tyson