Add secure connection TLS/SSL for the SMTP transport

This commit is contained in:
Frédéric Guillot
2014-08-17 15:06:28 -07:00
parent eb76e1e530
commit 249c9aef35
3 changed files with 21 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ define('MAIL_SMTP_HOSTNAME', '');
define('MAIL_SMTP_PORT', 25);
define('MAIL_SMTP_USERNAME', '');
define('MAIL_SMTP_PASSWORD', '');
define('MAIL_SMTP_ENCRYPTION', null); // Valid values are "null", "ssl" or "tls"
// Sendmail command to use when the transport is "sendmail"
define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs');