Re: Funcion mail
| From: | Luis M. Meraz | Date: | Tue, 31 May 2005 20:32:52 +0000 |
| Subject: | Re: Funcion mail | ||
| References: | 1 2 3 4 5 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-55018@lists.php.net to get a copy of this message | ||
Hola Igor
Utiliza la clase PHPMailer y tiene mucho mas funciones que el mail que tiene php
Saludos
Igor Ormaetxebarria wrote:
estoy teniendo un problemilla con la funcion mail y el safe mode. He leido que el safe mode suelen ponerlo los ISP para dar un poco de "seguridad". Es posible cambiar eso por código? o si no, como hago para mandar un mail con HTML? os paso mi código y el error que me tira: CODIGO: <?php $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; mail("igor@gaztedi.net", "Prueba2", "<h1>titulo</h1><p>Esto es un parrafo</p>nada", "From: webmaster@txurdi.net\nReply-To: webmaster@txurdi.net", $headers); ?> ERROR: Warning: mail(): SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in /home/txurdi/domains/txurdi.net/public_html/pruebas/mail/manda_mail.php on line 4-- Luis M. Meraz Mundoweb Developer Tel: +52 951 515 5952 E-mail: mario@mundoweb.com.mx iChat: mariomeraz@mac.com Jabber: mario.meraz@jabber-hispano.org Linus Torvalds If it compiles, it is good, if it boots up it is perfect. (Si compila esta bien, si arranca es perfecto.)