I think the SMTP protocol configuration in a little confusing.
For what i understand, it says:
So maybe they should be:
COM_CONFIG_FIELD_VALUE_SSL = "SSL/TLS"
and
COM_CONFIG_FIELD_VALUE_TLS = "StartTLS"
Like, for instance, the e-mail account configuration in Mozilla Thunderbird: None; StartTLS; SSL/TLS
Yes, that exacly the problem i described.
For instance having an SMTP mail server with:
And only supporting TLS 1.0+ protocols. No SSL protocol support.
When configuring joomla:
For joomla user configuration pourposes the security protocol (SSL or TLS) implemented by the SMTP mail server is not relevant. Presuming every thing else is ok, if the user server supports the same security protocol and ciphers of the smtp mail server it will be ok.
For that pourpose, is more relevant if it uses SMTP or SMTP+StartTLS or SMTPS and in witch port.
More info:
Also i think Joomla uses PHPMailer class with this code
See https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/mail/mail.php#L468
It also seems PHPMailer uses "ssl://" for SMTPS and no prefix for SMTP+StartTLS.
See https://github.com/joomla/joomla-cms/blob/staging/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php#L1312
And the StartTLS part https://github.com/joomla/joomla-cms/blob/staging/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php#L1334
and
https://github.com/joomla/joomla-cms/blob/staging/libraries/vendor/phpmailer/phpmailer/class.smtp.php#L315
Category | ⇒ | Language & Strings |
Closed. PR
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-11-22 10:24:10 |
Closed_By | ⇒ | andrepereiradasilva |
Would need to check the code to see what we are doing but this is a useful reference document explaining the different protocols available and the common naming problem
https://www.fastmail.com/help/technical/ssltlsstarttls.html
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6798.