You need to change the first statement to
$from = "From: [EMAIL PROTECTED]";
--
JR
> -Original Message-
> From: Frank Wang [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 15, 2002 10:15 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] mail and from line o
Hi,
I have something like following:
$from = "[EMAIL PROTECTED]";
$email = "[EMAIL PROTECTED]";
$msg = "abcde";
mail($email, $subj, $msg, $from);
the message sent always has the 'from' line taken from php.ini, not $from,
is there a way to override this ? Thanks.
Frank
--
PHP General Maili
2 matches
Mail list logo