
14/03/2007, 14:52
|
 | | | Fecha de Ingreso: marzo-2007 Ubicación: Chile
Mensajes: 222
Antigüedad: 18 años 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);
?> |