PROBLEM WITH MAIL FUNCTION
| From: | Juanjo Pascual | Date: | Thu, 06 Jul 2006 08:33:07 +0000 |
| Subject: | PROBLEM WITH MAIL FUNCTION | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-239159@lists.php.net to get a copy of this message | ||
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@zzzz.com, 'Consulta Señalítica desde la página web', '<strong>Hola, esto es una prueba<strong>','From: zzz@zzzz.com' . "\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?