Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    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 ?

  2. #2
    Senior Coder
    Join Date
    Feb 2011
    Your Monitor
    Thanked 568 Times in 555 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.
    I can't really think of anything to write here now...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts