* There are two ways SSL/TLS may be started in SMTP. In the first way,
* SSL/TLS is started before any SMTP communication. To connect to a SMTP
* server port configured this way (port 465 by convention), set
* secure_connection_before_smtp to TRUE.
*
* In the second way, initial SMTP handshake is done in an insecure
* connection and SSL/TLS is started by the STARTTLS command. To connect to
* a SMTP server port configured this way (port 25 or 587 by convention),
* set secure_connection_before_smtp to FALSE and call the STARTTLS
* function/procedure. See STARTTLS for details.
Partager