When I try this under windows :
mail("User <user@example.com>",$subject, "", $headers);
I get this error :
Warning: mail() [function.mail]: SMTP server response: 501 Syntax error,
parameters in command "RCPT TO:<User <user@example.com>>" unrecognized
or missing in
It seems to add it's own <> characters !!??
If I run the same script under Linux it works fine !?