PDA

View Full Version : email from: option correct code?


javierrebelde
01-22-2010, 01: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

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

javierrebelde
01-22-2010, 04: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";