problem with php mail
Posted: Fri Nov 21, 2003 10:44 am
Hi,
I am able to successfully send mails using the php mail function. My system has 2 hostnames one of those is the reverse proxy setup to hide the actual name of the computer. Whenever I send mails from php, at the receieivng end, I see in the from address, my actual system name being displayed. I would like to change the from address to be just webmaster in the display in stead of suffixing it with @localhost I know this can be done in smtp configuration. But don't know how. I also tried changing the from address in the Headers and included this as one of the parameters in Mail() but it didn't help.
I would appreciate any help in this regard.
I would like just to change the from address displayed at the receiving end.
I am able to successfully send mails using the php mail function. My system has 2 hostnames one of those is the reverse proxy setup to hide the actual name of the computer. Whenever I send mails from php, at the receieivng end, I see in the from address, my actual system name being displayed. I would like to change the from address to be just webmaster in the display in stead of suffixing it with @localhost I know this can be done in smtp configuration. But don't know how. I also tried changing the from address in the Headers and included this as one of the parameters in Mail() but it didn't help.
I would appreciate any help in this regard.
I would like just to change the from address displayed at the receiving end.