Open gggeek opened 5 months ago
While at it, the note for WPMS_SMTP_AUTOTLS
"True turns it on, false turns it off" might be detailed a bit more: it means "do use startls when the server declares support for it, openssl is available to php and the connection is not using implicit ssl"
I think the comment on line https://github.com/awesomemotive/WP-Mail-SMTP/blame/023e5bc91963e0ddc1b3955e60d0de972fdc3604/wp_mail_smtp.php#L71 is wrong, or at least misleading.
Looking at the phpmailer code, it seems to be the opposite: WPMS_SSL='ssl' -> an implicit-ssl connection will be used to connect the server (where ssl might be tls 1.2 in fact) WPMS_SSL='tls' -> a plain connection + starttls will be used