View Full Version : email from: option correct code?

01-22-2010, 12:06 AM
i need i little help
i create a form and when i receive the email from that form i see in my email the email said from: test@mysite.com

if i use "my site name" instead the test@mysite.com the email i receive said from: my.site.name@allserverinfo.com

this is the code i am using now

$from="From: test@mysite.com\r\nReply-To: $email";

what i have to do to receive the email saying from: my site name

01-22-2010, 01:53 AM
not clear you mean as in ?
$subject= "My site name";

01-22-2010, 03:24 AM
Hi thanks i already find out

$from="From: test@mysite.com\r\nReply-To: $email";
$from="From: txt goes here <test@mysite.com>\r\nReply-To: $email";