Re: PEAR::isError not working - any ideas?

From: Date: Sat, 15 Mar 2008 10:41:26 +0000
Subject: Re: PEAR::isError not working - any ideas?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28651@lists.php.net to get a copy of this message
Ahhh, I see. Thanks very much guys, that makes sense. Shame that it's not easier to get that sort of info using php, but I'll look into the mail logs and see if I can get access to them on our hosting. Matt Anderton wrote: > > PEAR::isError isn't going to be able to tell you the things you are > looking > for. All PEAR's going to do is hand the mail message off to the mail > server. PEAR would know if *that* failed for some reason -- local mail > server didn't exist or wasn't running, bad SMTP username/password, > couldn't > talk to a remote SMTP server, connection timed out, etc. > > The mail server is the one that's going to know about things like bounce > backs and bad email addresses, but it has no way of reporting that back to > your scripts -- especially since there could be a loooong delay between > your > script handing it to the server and the server getting a bad response. > > I think the best you can do is try to validate email addresses as best you > can and then watch your mail logs. (actually, there are probably many > better ways to do it, but validation+mail logs have always gotten me > by...) > -- View this message in context: http://www.nabble.com/PEAR%3A%3AisError-not-working---any-ideas--tp16048098p16066440.html Sent from the Pear - General mailing list archive at Nabble.com.

« previous php.pear.general (#28651) next »