Funcion mail
| From: | Igor Ormaetxebarria | Date: | Tue, 31 May 2005 18:08:21 +0000 |
| Subject: | Funcion mail | ||
| References: | 1 2 3 4 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-55017@lists.php.net to get a copy of this message | ||
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