Juanjo Pascual wrote:
Hello,

I have a problem with the mail function when I send a mail with acents or Ñ in the subject. When I receive the mail this caracters have been replaced by X.

I'm using the mail function in this way:

mail([EMAIL PROTECTED], 'Consulta Señalítica desde la página web', '<strong>Hola, esto es una prueba<strong>','From: [EMAIL PROTECTED]' . "\r\n" . 'Content-type: text/html; charset=iso-8859-1' . "\r\n");

The mail subject when I receive the message is like this: Consulta SeXalXtica desde la pXgina web

¿How can I solve this problem?

IIRC sending non-ascii chars in a header is outside the standard without some "encoding". This may help you - http://www.faqs.org/rfcs/rfc1522.html

--

life is a game... so have fun.

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

Reply via email to