Re: mail problem
- From: "kapten" <fredrik.enestad@xxxxxxxxx>
- Date: 28 Mar 2006 06:07:08 -0800
Try adding ini_set('sendmail_from',$para);
like this:
<?php
//set_ini('sendmail_from','');
$para = 'webmaster@xxxxxxxxxxxxxxxx' . ', ';
$para .= 'egb@xxxxxxxxxxxxxxxx';
ini_set('sendmail_from',$para);
$asunto = 'Prueba email con html';
$mensaje = 'html>head> title>test/title>/head>body>
p>podrísfuncionar de una vez?</p></body></html>';
$cabeceras = 'MIME-Version: 1.0' . "\r\n";
$cabeceras .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$cabeceras .= 'To: nadie <egb@xxxxxxxxxxx>' . "\r\n";
$cabeceras .= 'From: nadie <egb@xxxxxxxxxxx>' . "\r\n";
$cabeceras .= 'Cc: egb@xxxxxxxxxxxxxxxx' . "\r\n";
$cabeceras .= 'Bcc: webmaster@xxxxxxxxxxxxxxxx' . "\r\n";
mail($para, $asunto, $mensaje, $cabaceras);
?>
.
- Follow-Ups:
- Re: mail problem
- From: egb
- Re: mail problem
- References:
- mail problem
- From: egb
- mail problem
- Prev by Date: imagecreatefromjpeg() uses too much memory
- Next by Date: Re: imagecreatefromjpeg() uses too much memory
- Previous by thread: mail problem
- Next by thread: Re: mail problem
- Index(es):