--- Mark Roberts <[EMAIL PROTECTED]> wrote:
> $headers .= "From: ".$name." <".$email.">\r\n";

My guess is that this line is what is causing your problems. Try this instead:

$headers .= "From: \"$name\" <$email>\r\n";

The difference is (aside from not using concatenation) that the name is quoted,
which is proper format, or at least it's how every mail client I have seen
formats it. Also, you should output your $headers as a test to make sure
everything is formatted like you think it is. Such a tactic might make things
like this more clear.

Hope that helps.

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

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

Reply via email to