cvs: pear /Net_SMTP/docs guide.txt

From: Date: Fri, 04 Mar 2005 03:35:45 +0000
Subject: cvs: pear /Net_SMTP/docs guide.txt
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-30042@lists.php.net to get a copy of this message
jon Thu Mar 3 22:35:45 2005 EDT Modified files: /pear/Net_SMTP/docs guide.txt Log: Include a brief discussion describing how secure SMTPS / SSL connections can be established using Net_SMTP. Request: 2849 http://cvs.php.net/diff.php/pear/Net_SMTP/docs/guide.txt?r1=1.4&r2=1.5&ty=u Index: pear/Net_SMTP/docs/guide.txt diff -u pear/Net_SMTP/docs/guide.txt:1.4 pear/Net_SMTP/docs/guide.txt:1.5 --- pear/Net_SMTP/docs/guide.txt:1.4 Thu Mar 11 03:15:46 2004 +++ pear/Net_SMTP/docs/guide.txt Thu Mar 3 22:35:45 2005 @@ -8,8 +8,8 @@ :Author: Jon Parise :Contact: jon@php.net -:Date: $Date: 2004/03/11 08:15:46 $ -:Revision: $Revision: 1.4 $ +:Date: $Date: 2005/03/04 03:35:45 $ +:Revision: $Revision: 1.5 $ .. contents:: Table of Contents .. section-numbering:: @@ -96,6 +96,19 @@ The PLAIN authentication method sends the user's password in plain text. This method of authentication is not secure and should be avoided. +Secure Connections +================== + +If secure socket transports_ have been enabled in PHP, it is possible to +establish a secure connection to the remote SMTP server:: + + $smtp = new Net_SMTP('ssl://mail.example.com', 465); + +This example connects to mail.example.com on port 465 (a common SMTPS +port) using the ssl:// transport. + +.. _secure socket transports: http://www.php.net/transports + Data Quoting ============

« previous php.pear.cvs (#30042) next »