Forum Moderators: coopster

Message Too Old, No Replies

How to change mail Received from: headers

On shared server is coming from default ip and domain

         

surfgatinho

4:55 pm on Jun 12, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi,

Just wondering if there is anyway of changing the Received from: headers when I send mail using PHP. I believe they are outside the 'envelope' so not directly controlable from the script?

This is not the from email address set in the mail additional headers, as this is correct. I think it is coming from the sendmail config or the php.ini

Any suggestions.

Thanks,
Chris

barns101

12:43 pm on Jun 13, 2008 (gmt 0)

10+ Year Member



I thought that this was set by the receiving mail server.

surfgatinho

1:06 pm on Jun 13, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



OK, so where does the receiving mail server get it from and can I change it on a per domain/ip address basis?