Hi,

This might be "too simple" or not...

I'm trying to send emails from my PHP page, and while both mail() and PEAR Mail
work, I'm having a hard time finding out whether a message was actually sent or
not.

With both mail() and PEAR Mail, an email to an invalid domain (syntactically
valid) name returned "success"... Running mailq at the command prompt gives me:

"(Host or domain name not found. Name service error for name=activeagenda.org
type=MX: Host not found, try again)"

Basically, I'd like my PHP script to know of issues like these.

TIA for any suggestions.

Mattias Thorslund

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

Reply via email to