Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
05-13-2013, 11:14 AM #1
- Join Date
- Oct 2009
- Thanked 3 Times in 3 Posts
mail() change the recieved from text ?
Just curious but can the
Received: from [account name] by [servers dns] with local (Exim 4.80)
in emails sent from the website be changed?
I haave figured out how to change the envelope-from so it shows the actual email address it is sent from instead of the servers default account username i.e. myaccountusername@serverDNS.com
but wanted to completely remove all reference to my host and only have my own domain shown in the email headers.
can this be done ?
05-13-2013, 12:30 PM #2
- Join Date
- Feb 2011
- Your Monitor
- Thanked 528 Times in 515 Posts
I don't think removal of those headers is possible unless you have direct access to the mail server configuration. The headers are added by the mail server not php. PHP just passes the mail to the server and once that is done php has no control over it.
See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/
Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!