PROBLEM WITH MAIL FUNCTION

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

 



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?

--
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