Ok I think I know what you mean so here is my email headers once again
$to_email = 'myemail@yahoo.com';
$msg = "$sitename\n\n";
$msg .= "Email Recieved: $from_email\n";
$msg .= "Email Subject: $email_subject\n\n";
$msg .= "Message: $message\n\n";
$mailheaders = "Reply-To: <$from_email>\r\n";
$mailheaders .= "From: <$from_email>\r\n";
$mailheaders .= "Return-Path: <$from_email>\r\n"; //Return bounced emails to.
$mailheaders .= "X-Priority: 1\n"; //Message priority is set to HIGH
$mailheaders .= "X-MSMail-Priority: High\n"; //Message Priority for Exchange Servers
$mailheaders .= "Disposition-Notification-To: <$from_email>\r\n"; //Read receipt
$mailheaders .= "X-Mailer: PHP(".$_SERVER['REMOTE_ADDR'].")\r\n"; //IP address of who sent the mail
$mailheaders .= "Content-Type: text/HTML; charset=ISO-8859-1";
mail($to_email, $from_email, $email_subject, $msg, $mailheaders);
This is the error message
Reply-To: missing or malformed local part (expected word or "<")
The message has not been delivered to any recipients.
------ This is a copy of your message, including all the headers. ------
To: myemail@yahoo.com
Subject: myemail@yahoo.com <---- Again Should this be here?
Email Recieved: myother@email.com
Email Subject: subject line
Message: message body lalalala
Mail Delivery System 1:11 am Mail failure - malformed recipient address
Blog Media