PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
If it gets to everyone else but gets bounced by AOL then it is most likely anti spam software which AOL's mail servers are sunning.
I had the same problem and had to contact my PHP host and inform them that the mail server which was user for sending PHP mail() was on a spam list and could they find out why.
It took months but eventually the spammer had his account disabled and the mailserver was removed from the spam list.
how are you relaying? Through your local server or directly through the relay-server of your provider? Does the relay-server for outgoing mail resolve properly? Do you have a DNS-Entry for the server attempting to deliver mail to aol?
in most cases the mail is refused because the relay server is uknown to the world in DNS matters.
Simple workaround for postfix:
Add a transport-map entry for aol delivering all mail to aol through the relay-server of your provider
Another one - check your sender e-mail - this e-mail must be valid.
If you use mail() function and set 'From: sender@host.com' with headers passed to mail() in real e-mail headers you have 2 senders ('From' header) one from headers seted in mail() function and another one - http user (on UNIX like systems) or value from php.in (on Windows systems).
I'm not progressing much unfortunatelly. What about the headers I send (see 1st post in the topic) Are there headers missing? I've been looking for specs on mail header fields but couldn't find much about them, any pointers?
Thanks
The issue's now sorted. My hosting company told me they've done a small change to the email configuration and it now works. Thanks everybody for your help