Re: SMTP AUTH CRAM-MD5 and Debug Method
| From: | Jon Parise | Date: | Tue, 14 Jan 2003 15:12:51 +0000 |
| Subject: | Re: SMTP AUTH CRAM-MD5 and Debug Method | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-12410@lists.php.net to get a copy of this message | ||
On Tue, Jan 14, 2003 at 08:42:49AM -0300, Damian Alejandro Fernandez Sosa wrote:
First off, I'd like to release Net_SMTP 1.1.0 in its current state.
> But, because LMTP is based on ESMTP this class should be 99% equal to
> SMTP. (only changes the VERBS (for example instead of write EHLO to read
> the server's capabilitys, you write LHLO and so on)
>
> I think we can use the Net_SMTP existing code as base to build a base
> class that Net_SMTP and Net_LMTP could use.
I like the idea of creating a new base class (SMTPBase) that contains
all of the common methods (e.g. _put(), _parseResponse(), etc.). Both
the Net_SMTP and Net_LMTP classes could extend this base class an
implement they're specific protocols.
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)