Hello and welcome to our community! Is this your first visit?
Register
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
    Posts
    410
    Thanks
    6
    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
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,090
    Thanks
    51
    Thanked 506 Times in 493 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.
    My helpful sig is on vacation trying to loose some weight. It got a bit fat and caused a few problems but it will be back at some point!


  •  

    Posting Permissions

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