Re: PROBLEM WITH MAIL FUNCTION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(zzz@xxxxxxxx, 'Consulta Señalítica desde la página web', '<strong>Hola, esto es una prueba<strong>','From: zzz@xxxxxxxx' . "\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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux