how to change default mailed by : address in php mail()
<p>i have the following code</p>

<pre><code>$subject = "Subject Here";  
$headers  = 'MIME-Version: 1.0' . "\r\n";   
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers       
$headers .= 'From: Domain Name &lt;domain@domain.com&gt;' . "\r\n";           
$to = $email;
$body = '
My Message  here
';
mail($to, $subject, $body, $headers);
</code></pre>

<p>and it send mail correctly but when i see details in the email in gmail ...
it shows </p>

<p>from    Domain Name 
to  myemail@myemail.com
date    Tue, May 25, 2010 at 12:41 PM
subject my subject here
mailed-by   mars.myhostingcompany.net</p>

<p>while i want to show my own address in mailed by section so that it should be mydomain.com instead of mars.myhostingcompany.net</p>
