Reply to Formatting mail() headers "prettier"

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация