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 '>';
__________________
34343639363436653237373432303635373837303635363337 34323037343638363137343263323036343639363432303739 366637353366
Last edited by lizciz; 08-28-2009 at 04:46 AM..
Reason: spelling error
|