Re: mail problem
- From: egb <crap@xxxxxxxxxxx>
- Date: Tue, 28 Mar 2006 13:27:37 -0300
Still the same problem... could it be a problem with the hosting?
On Tue, 28 Mar 2006 11:07:08 -0300, kapten <fredrik.enestad@xxxxxxxxx> wrote:
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, $cabeceras);
?>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
.
- Follow-Ups:
- Re: mail problem
- From: kapten
- Re: mail problem
- References:
- mail problem
- From: egb
- Re: mail problem
- From: kapten
- mail problem
- Prev by Date: Re: imagecreatefromjpeg() uses too much memory
- Next by Date: php / mysql database
- Previous by thread: Re: mail problem
- Next by thread: Re: mail problem
- Index(es):
Relevant Pages
|