Hi,
i am trying to write a tell a friend function from a webform
i am using the following code
$to = 'testing@gmail.com';
$subject = 'A New Website For Irish Pharmacists';
$message = 'hello';
$sender = 'testing@yahoo.com';
mail($to, $subject, $message,"From:eddie $sender\n", $headers);
[code=php]
when the email arrives, it does not appear to be from the testing@yahoo.com, but it address shown is fro the webserver, am i doing something silly?
thanks