Hi,
I have been trying to send mail messages from PHP. I have been running PHP on a RedHat server for a year or so now and never had anything but a great experience.
However now I have discovered the misery of trying to setup sendmail. I have spend a lot of time understanding the configuration methodology for sendmail and have worked out how to alter it so that it relays mail through my providers SMTP server. I did this by adding the line:
define(SMART_HOST',
mail.planet.nl')
I also installed the appropriate modules to be able to compile the sendmail.cf file from my altered sendmail.mc file. As far as I can tell nothing is going wrong.
However no mail I send from PHP (or any regular email application) gets through. I checked in the maillog file and I can see the mails. I am not sure if this gives any extra information but in the record it says 'stat=queued'.
Does anyone know how I can solve my problem? Or does someone have a sendmail.mc file for relaying through a providers SMTP server which does work? I am used to applications giving some kind of error if there is a problem but I am getting nothing out of sendmail so I am completely lost to know what action I should take next.
Thanks in advance for any help!
DaveTshave.