You are here: Bad Header warning « PHP Programming Language « IT news, forums, messages
Bad Header warning

Posted by Christophe on 10/20/61 11:22

Hello,

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.

Christophe

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация