Email Sender

I have multiple websites on the same server, however, when sending mail it seems as if 1 domain specific domain is placed as the sender (received from):

Received: from host.example2.com (host.example2.com)
by mx.gmail.com with ESMTP id 8si7274471nzn.2006.02.06.01.00.20;
Mon, 06 Feb 2006 01:00:20 -0800 (PST)
Received-SPF: pass (gmail.com: best guess record for domain of nobody@host.example2.com designates xxx.xxx as permitted sender)
Received: from nobody by host.example2.com with local (Exim)
id 1F62EH-0002pj-CM
for xxx.xxx@gmail.com; Mon, 06 Feb 2006 04:00:13 -0500
From: "example.com" <webmaster@example.com>

The FROM part is correct, but the other headers aren't and I don't think you can change those using PHP..

(Both these sites are hosted on the same server). example2.com is also the DNS server.

So example.com uses example2.com for sending the email.. (Received from). Is it possible to change this as I do not want 1 unrelated domain being viewed by the receiver. (Gmail shows this)

Thanks

 

 

 

 

Top