|
Posted by egb on 03/30/06 18:51
On Tue, 28 Mar 2006 17:28:14 -0300, kapten <fredrik.enestad@gmail.com>
wrote:
> Sorry for my last post, I was realy tired and didnt read properly.
>
> You have misspelt the last variable in mail()
>
> should be $cabeceras and not $cabaceras
>
Thanks,I fixed that variable but the problem continued.
With the following code the problem was solved.
$para = 'webmaster@thecamino.com.ar';
$asunto = 'Prueba email con html';
$mensaje = '<b>podría funcionar de una vez?</b>';
$de = 'webmaster@thecamino.com.ar';
$headers="";
$headers .= "X-Sender: $de <$de>\n"; //
$headers .="From: $de <$de>\n";
$headers .= "Reply-To: $de <$de>\n";
$headers .= "Date: ".date("r")."\n";
$headers .= "Message-ID:
<".date("YmdHis")."egb@".$_SERVER['SERVER_NAME'].">\n";
$headers .= "Subject: $asunto\n"; // subject write here
$headers .= "Return-Path: $de <$de>\n";
$headers .= "Delivered-to: $para <$para>\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html;charset=ISO-8859-1\n";
$headers .= "X-Priority: 3\n";
$headers .= "Importance: Normal\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: egb@1463\n";
mail($para, $asunto, $mensaje, $headers);
Thanks for the help
Eduardo
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
[Back to original message]
|