On Thu, 6 Jul 2006, 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");

Worked great for me. But I would try with something more like this:

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

--
 21:50:04 up 2 days,  9:07,  0 users,  load average: 0.92, 0.37, 0.18
---------------------------------------------------------
Lic. Martín Marqués         |   SELECT 'mmarques' ||
Centro de Telemática        |       '@' || 'unl.edu.ar';
Universidad Nacional        |   DBA, Programador,
    del Litoral             |   Administrador
---------------------------------------------------------
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to