[imp] New Net_SMTP package

Damian Fernandez Sosa (DESC) damlists at cnba.uba.ar
Thu Jan 23 19:03:34 PST 2003


there is a 3th parameter in the auth() method to force the use of the auth method

here is an example:


    include_once('Net/SMTP.php');
    $a= new  Net_SMTP("localhost","25","localhost");
    $a->auth($user,$pwd,"CRAM-MD5");

    $a->connect();
    $a->mailFrom("user1 at example.com");
    $a->rcptTo("user2 at example.com");
    $a->data($email);
    $a->disconnect();





Quoting Yoseff Francus <francus at yossi.com>:

> How do I now force the authentication to use CRAM-MD5?
> 
> On Sat, 18 Jan 2003, Jon Parise wrote:
> 
> > I just released version 1.1.0 of the Net_SMTP package.  I mention it
> > here because it adds support for new SMTP authentication methods
> > (specifically: LOGIN, PLAIN, CRAM-MD5, DIGEST-MD5).  If your Horde
> > installation uses SMTP ($conf['mailer']['type'] = 'smtp'), these new
> > capabilities may be of interest to you.
> >
> > To upgrade your Net_SMTP package, use the follow command:
> >
> >     $ pear upgrade Net_SMTP
> >
> > The CRAM-MD5 and DIGEST-MD5 authentication methods require the
> > Auth_SASL package.  If you don't already have it, you'll need to
> > install it, as well:
> >
> >     $ pear install Auth_SASL
> >
> > --
> > Jon Parise (jon at horde.org) :: The Horde Project (http://horde.org/)
> >
> > --
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> >
> 
> 
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> 




-------------------------------------------------
Mail enviado desde el CNBA
http://www.cnba.uba.ar/
-----



More information about the imp mailing list