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@xxxxxxxxxxxxxxxxxxxxxxxxx>,
relay=apache@localhost
Nov 9 15:26:17 shannon sendmail[8650]: lA9KQHhY008650:
from=<apache@xxxxxxxxxxxxxxxxxxxxxxxxx>, size=382, class=0, nrcpts=1,
msgid=<200711092026.lA9KQHYt008649@xxxxxxxxxxxxxxxxxxxxxxxxx>, proto=ESMTP,
daemon=Daemon0, relay=shannon.ipimtzcm.rimed.cu [127.0.0.1]
Nov 9 15:26:17 shannon sendmail[8649]: lA9KQHYt008649:
to=alberto@xxxxxxxxxxxxxxxxx, 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@xxxxxxxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Friday, November 09, 2007 03:16 PM
Subject: 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"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php