|
Posted by phpCodeHead on 09/21/07 13:42
Hello all,
Given the following code:
$FormSubmittedUserData = "John Doe <jdoe@somedomain.yuk>";
$to = 'myemail@emaildomain.nuts';
$subject = 'This is my subject';
$message = 'This is my email message.';
$headers = "From: $Email\r\nReply-To: $Email\r\n";
mail($to, $subject, $message, $headers);
I only get the email address in the recipient inbox From: or Sender:
columns.
I am trying to provide the mail() function with the properly formatted
headers to get an outcome of "FirstName LastName" appearing in
recipient's Sender: or From: column in their inbox.
Any help from anyone who has tackled this one before would be greatly
appreciated.
Thanks all,
Gene Kelley
www.bizflowdesigns.com
Navigation:
[Reply to this message]
|