Re: PROBLEM WITH MAIL FUNCTION

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

 



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(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");

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: zzz@xxxxxxxx \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

[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