The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mail sent with mail() in PHP is coming from the server hostname

Discussion in 'E-mail Discussions' started by rnawky, Feb 23, 2010.

  1. rnawky

    rnawky Member

    Jan 13, 2010
    Likes Received:
    Trophy Points:
    Ever since I transfered over to a dedicated server, all mail coming from my domain name ( is shown as coming from the server's hostname (

    Also, all mail sent is ending up in my gmail spam folder. I suspect the aforementioned issue is the result in this.

    Can anyone inform me as to why mail sent from my server is shown as coming from the servers hostname instead of the domain name the account is on?

Share This Page