here is my code....
$subject = "This is Subject";
$headers .= 'Content-type: text/html; charset=iso-8859-1';
$to = 'foo@foo.com';
$body = 'Mail Content Here';
mail($to, $subject, $body, $headers);
but when i open this file it sends a mail to $to
successfully but with wrong headers....and my hosting server default address i.e mars.myhosting.com, instead of mydomain@domain.com how can i fix that