Click to See Complete Forum and Search --> : PHP Mail() / apache issue


hastx
03-10-2008, 09:24 AM
I remember solving this on one system before, but can't remember what I did.

I am running fedora 6 w/ Apache and PHP 5.1.6. When email is sent from any php script, it sends from "Apache@company.com", It also fills the same address for reply-to, instead of using the headers I specify in the script.

I have set up masquerading in sendmail, but that still has no effect on outgoing mail from PHP.

Any Ideas?

TheRave
03-10-2008, 09:34 AM
sendmail_from ini file setting

Make it empty and your headers should work.

Either that or use a SMTP mailer, phpmailer.