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
    559
    Thanks
    10
    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
    Location
    Your Monitor
    Posts
    4,974
    Thanks
    102
    Thanked 582 Times in 569 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.
    Quote Originally Posted by deathshadow View Post
    So seriously, loosen up that tie, let out the belt, and try relating to normal people on the street instead of the gentleman's club crowd.


 

Posting Permissions

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