Re: SMTP return values
| From: | Jon Parise | Date: | Mon, 06 Jan 2003 16:21:02 +0000 |
| Subject: | Re: SMTP return values | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-12165@lists.php.net to get a copy of this message | ||
On Mon, Jan 06, 2003 at 02:14:31PM +0100, Martin Jansen wrote:
> Do you see any chance to implement a method Net_SMTP::isError(),
> that can help the user to determine if the response code indicates
> a positive or a negative result? If such a method would be
> feasible, the class will not be much harder to use.
I actually have that played for later on down the road when I
introduce an SMTP_Error class (which will be a subclass of PEAR_Error
that is aware of things like the remote hostname and port, for
example).
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)