Mail() error in logs
| From: | Mike Morton | Date: | Sun, 31 Aug 2003 16:08:03 +0000 |
| Subject: | Mail() error in logs | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-161301@lists.php.net to get a copy of this message | ||
Hey there - quick question - until a week ago, the mail() function I am
using to email confirmations was working fine, now the following error is
showing up in the logs:
Aug 31 11:50:26 www2 sendmail[29579]: h7VFoQc7029579: localhost [127.0.0.1]
did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
This error shows up for each mail going out - no matter where it is going to
- and that could be one of 4 addresses (an internal, the customers email,
and 2 external addresses including a hotmail account).
Is this a php thing that I am missing a setting for the mail() function? Or
is this a problem with the local mail server perhaps?
The following are the settings (on OS X btw):
ini_set(sendmail_path, "/usr/sbin/sendmail -t -f mail.vtc.com");
$headers = "From: VTC Orders <orders@vtc.com>\r\n";
$subject="Order Confirmation from VTC";
$body="A bunch of things that will have no affect on the the email it's
self";
mail("mike@vtccanada.com",$subject,$body,$headers);
I am not aware of anything that has changed since this worked last (actually
about 3 days ago) except that the company has messed with their internal
mail server - still - this error is showing for ALL emails going out - not
just the ones being delivered internally - and their internal mail server is
running on an entirely different server anyhow.
So - is there something that I am missing - and if it is not a php error
just say so WITHOUT FLAMES and I will check it out somewhere else.
TIA.
--
Cheers
Mike Morton
****************************************************
*
* Tel: 905-465-1263
* Email: mike@webtraxx.com
*
****************************************************
"Indeed, it would not be an exaggeration to describe the history of the
computer industry for the past decade as a massive effort to keep up with
Apple."
- Byte Magazine
Given infinite time, 100 monkeys could type out the complete works of
Shakespeare. Win 98 source code? Eight monkeys, five minutes.
-- NullGrey