Re: mail problem
- From: egb <crap@xxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 12:51:47 -0300
On Tue, 28 Mar 2006 17:28:14 -0300, kapten <fredrik.enestad@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx';
$asunto = 'Prueba email con html';
$mensaje = '<b>podría funcionar de una vez?</b>';
$de = 'webmaster@xxxxxxxxxxxxxxxx';
$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/
.
- References:
- mail problem
- From: egb
- Re: mail problem
- From: kapten
- Re: mail problem
- From: egb
- Re: mail problem
- From: kapten
- mail problem
- Prev by Date: Re: PHP/HTML
- Next by Date: Looking for customer service PHP script.
- Previous by thread: Re: mail problem
- Next by thread: beginning PHP problem
- Index(es):