Re: Re: Sending Mails

From: Date: Fri, 09 Nov 2007 20:29:52 +0000
Subject: Re: Re: Sending Mails
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-264286@lists.php.net to get a copy of this message
John, those are the lines in the log file when I try to send a mail using mail() function. PLease let me know my errors. Nov 9 15:26:17 shannon sendmail[8649]: lA9KQHYt008649: from=apache, size=82, class=0, nrcpts=1, msgid=<200711092026.lA9KQHYt008649@shannon.ipimtzcm.rimed.cu>, relay=apache@localhost Nov 9 15:26:17 shannon sendmail[8650]: lA9KQHhY008650: from=<apache@shannon.ipimtzcm.rimed.cu>, size=382, class=0, nrcpts=1, msgid=<200711092026.lA9KQHYt008649@shannon.ipimtzcm.rimed.cu>, proto=ESMTP, daemon=Daemon0, relay=shannon.ipimtzcm.rimed.cu [127.0.0.1] Nov 9 15:26:17 shannon sendmail[8649]: lA9KQHYt008649: to=alberto@ipimtzcm.rimed.cu, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30082, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (lA9KQHhY008650 Message accepted for delivery) ----- Original Message ----- From: "John Gunther" <php@bucksvsbytes.com> To: <php-general@lists.php.net> Sent: Friday, November 09, 2007 03:16 PM Subject: [PHP] Re: Sending Mails
All true. sendmail or a sendmail shell must be running. The sendmail command to use can be customized in the sendmail_path directive in the php.ini configuration file. If you can't manually use sendmail to send an email, php can't either. John Gunther Alberto García Gómez wrote:
I want to use the mail() function but doesn't work so I have some questions: 1. Is necessary that sendmail must be installed in the server to use this function? 2. Is necessary that sendmail must be running to use this function? 3. Is necessary that sendmail must be proper configure to use this function? Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas. "La gran batalla se librará en el campo de las ideas"
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas. "La gran batalla se librará en el campo de las ideas"

« previous php.general (#264286) next »