Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Bad Header warning
July 27, 2005, 8:06 am
rate this thread
I use php mail() function for a feedback form with the following header:
Content-type: text/plain; charset=iso-8859-1
Inside the body part of my message, I convert characters with accents using
an hexadecimal or decimal value (for instance \xF4 or something like
sprintf("%c",244) for ô.
It does work, but when I use a character with accent inside the subject
line, the email software displays the following warning inside the header of
the incoming message : "X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data
(char F4 hex) in message header 'Subject'."
All characters display without any problems in the subject or body part of
the message, but I dont't know what to do with the warning message.
Thanks for any help.