I think the 'From' header should be like this to work properly
From: "Your Name" <your.name@domain.com>
So in php with variables it could be
PHP Code:
$header = "From: \"$name\" <$email>";
// or...
$header = 'From "' . $name . '" <' $email '>';
__________________
596f75206d65616e20796f752063616e2061637475616c6c79 207265616420746869733f
Last edited by lizciz; 08-28-2009 at 04:46 AM..
Reason: spelling error
|