It's said that
If the From: header is not formatted correctly, empty or invalid our system will change the from address to be <username>@<host##>.hostmonster.com. To stop this, you must change the script you are using to correctly use a valid From header.Examples of headers that should work would be:
From: user@domain.com
From: <user@domain.com>
From: "name" <user@domain.com>Examples of headers that will NOT work:
From: "user@domain.com"
From: user @ domain.com
Then I checked headers before sending mails with mail() function, see below:
From: WordPress <wordpress@guitarbean.com>
Date: Thu, 27 Mar 2008 03:08:30 -0600
Return-Path: wordpress@guitarbean.com
Message-ID: <1d0bbc968e76042a7effb06ce21932ab@guitarbean.com>
X-Priority: 3
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"
But the codes here goes well in hostmonster.
I found the "From:" headers are almost the same but the quots(") of Sender name.
But even if with out quots("), here work well still.
You can take a test about the code here untill this problem is resolved:
http://guitarbean.com/mail.php