![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/03/2007, 14:52
|
![Avatar de xempro](http://static.forosdelweb.com/customavatars/avatar172689_4.gif) | | | Fecha de Ingreso: marzo-2007 Ubicación: Chile
Mensajes: 222
Antigüedad: 17 años, 10 meses Puntos: 6 | |
Re: Enviar formularios a un correo Con este código te debería bastar... Código PHP: <?
$de = '[email protected]';
$para='[email protected]';
$asunto='Test email';
$mensaje='Mensaje test email';
$cabeceras = 'MIME-Version: 1.0' . "\r\n";
$cabeceras.= 'Content-Type: text/plain; charset="iso-8859-1" format="flowed"'. "\r\n";
$cabeceras.= 'Content-Transfer-Encoding: 8bit'. "\r\n";
$cabeceras .= 'From: '.$de. "\r\n";
$cabeceras .= 'X-Mailer: PHP' . phpversion();
mail($para, $asunto, $mensaje, $cabeceras,'-f '.$de);
?> |