I`M USING THE PHP MAIL FUNCTION TO SEND EMAILS TO MEMBERS IN MY SITE.
sendto="xxxxxxx@yahoo.com";
$to=$sendto;
$from="From:mysite@mysite.com \r\n";
$subject="$fullname contacted mysite";
$content="$message \r\n his/her email address is $email";
if($content){
mail($to, $subject, $content,$from);
echo"<font color=green>Your email was sent successfuly to adminstration of mysite.<br/><a href=index.php>Continue to the site</a></font>";
}
i dont know how to make it like in Tagged,facebook etc when u receive a notification in your inbox eg yahoo,it shows :
from subject
tagged john contacted mysite
facebook john contacted mysite
When i send email by removing @mysite.com and remaining mysite from $from="From:mysite@mysite.com \r\n"; strange thing happens, thus to say mysite@server403.webhostingpad.com.
i hope u`ve understood me.HELP PLEASE.