Hi all
I am having a problem with my e-mail programing, It is a simple code which allows us to update purchase order database but then sends me and another an e-mail.
However when I recieve the email it has started to come from cale64@miggins.aqhostdns.com instead of 'Nobody ' or 'noreply'
my program is
$to = 'a.morgan@falcon.com' . ', ';
$to .= 'a.morgan@falcon.com';
$subject = 'New Purchase Order';
$message = '
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Mail it
mail($to, $subject, $message, $headers);
mail($head, $subject, $message, $headers);
I have a feeling that it is something I should be doing in the headers ?
However, Could someone be kind enough to advise me what line I should be putting in so that when the reciever gets the e-mail it gives a return email address that means something to the person recieving it. for example info@falcon.com would be better than cale64@miggins.aqhostdns.com
cheers
Andy