Error sending email using php into one linux with postfix. S.O.S.

From: Date: Tue, 08 Jan 2008 20:31:01 +0000
Subject: Error sending email using php into one linux with postfix. S.O.S.
Groups: php.general 
Request: Send a blank email to php-general+get-266914@lists.php.net to get a copy of this message
hello i have one great problem using php for sinding email across one email server (in the same machine) that is one Linux suse with postfix. it doesn't is sent, alwats appears one error into the mail log (bellow). Can you help me please? I am trying to solve this problem during several weeks i am trying to send email s using this: //script <?php
$para      = 'miname@midomain.com';
$asunto    = 'el asunto';
$mensaje = 'hola carabola'; $cabeceras = 'From: miname <miname@midomain.com>' . "\n" . 'Reply-To: miname@midomain.com' . "\n" . 'X-Mailer: PHP/' . phpversion()."\n"; mail($para, $asunto, $mensaje, $cabeceras, '-fminame@midomain.com'); ?> or using this: /* recipients */ $to = "info@MI_DOMINIO.com"; //$nombre . " <" . $email. ">"; /* subject */ $subject = "Email desde la pagina web"; /* message */ $message = " <html> <head> </head> <body> <p>Has recibido este correo desde el formulario de la pagina web.</p> <p> Nombre: $nombre <br> Email: $email <br> Asunto del mensaje: $asunto </p> </body> </html> "; /* To send HTML mail, you can set the Content-type header. */ $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; /* additional headers */ $headers .= "From: " . $nombre . " <" . $email. ">"; /* and now mail it */ mail($to, $subject, $message, $headers); ?> but it doesn't sent. Always appears this error: //log Jan 5 13:52:02 server postfix/pickup[16768]: 20EB589B68: uid=30 from=<miname@midomain.com> Jan 5 13:52:02 server postfix/cleanup[17322]: 20EB589B68: message-id=<20080105125202.20EB589B68@server.midomain.com> Jan 5 13:52:02 server postfix/qmgr[7450]: 20EB589B68: from=<miname@midomain.com>, size=394, nrcpt=1 (queue active) Jan 5 13:52:02 server postfix/qmgr[7450]: 20EB589B68: to=<miname@server.midomain.com>, orig_to=<miname@midomain.com>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)

« previous php.general (#266914) next »