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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shawn McKenzie wrote:
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=<brian@xxxxxxxxxxxx>, 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

I see, MX is to mail.briandunning.com. :-)

-Shawn

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux