Re: [PHP] OS need anything for mail() to work?

[email protected] (Shawn McKenzie) Fri, 25 Apr 2008 17:10:01 -0500
Newsgroups php.general
Message-ID <[email protected]>
Brian Dunning wrote:
> Is there any way for PHP to know that this email is not going through?
> 
> On Apr 25, 2008, at 1:21 PM, Eric Butera wrote:
> 
>>> Apr 24 17:03:34 MacBrian postfix/error[10699]: F19D21287847:
>>> to=<[email protected]>, relay=none, delay=4470, delays=4440/30/0/0,
>>> dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to
>>> skeptoid.com[72.32.102.215]: Operation timed out)
>>>
>>> PHP returned 'TRUE', so how do I tell if it failed or not?
>>>
>>> Looks like your mailserver is saying no way.  You might have to roll
>> up your sleeves and figure out how to make your local postfix relay to
>> your isp's mail server instead of skeptoid as it is probably shutting
>> you down.  That is what I had to do at home running ubuntu.
> 

As far as PHP is concerned it did work, the local MTA accepted it.  A 
class to use SMTP may offer more error reporting.

Maybe if skeptoid.com had an MX record?  Which it doesn't.

-Shawn