[snip]
> if(@mail($to, $from, $subject, $message))

Go back to the manual. The parameters for mail are
mail(to,subject,message,headers).

You have to pass the From: address in the headers.

$to = "[EMAIL PROTECTED]";
$subject = "Your email";
$message = "Your email is good";
$headers = "From: [EMAIL PROTECTED]\r\n";

mail($to,$subject,$message,$headers);

Read the manual on other headers you can send. 

---John Holmes...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to