Re: TLS support in PEAR::Mail

From: Date: Wed, 25 Jul 2007 11:17:33 +0000
Subject: Re: TLS support in PEAR::Mail
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27729@lists.php.net to get a copy of this message
Fernando Usero wrote:
i would like to know it there is support to SMTP over TLS in PEAR::Mail. I think there is not. If you log into the SMTP server using username/password, the connection is automaticallay upgraded to TLS.
$mailer = Mail::factory('smtp',
        array(
                'auth' => true,
                'host' => 'smtp.example.net',
                'username' => 'johndoe',
                'password' => 'foobar',
        ));
I don't know of a way to use TLS without authenticating (though I think this this would be rather easy to implement). Regards, Christian

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