Several of the configuration methods in MailSender incorrectly set JavaMail properties under the mail.smtp prefix when smtps mail transport (TransportStrategy.SMTP_SSL) is used. I'm pretty sure the mail.smtps prefix should be used instead.
Examples: [1] [2] [3] [4]
The cleanest fix, I think, is to implement additional abstract property name getters under the TransportStrategy enum.
Several of the configuration methods in
MailSenderincorrectly set JavaMail properties under themail.smtpprefix whensmtpsmail transport (TransportStrategy.SMTP_SSL) is used. I'm pretty sure themail.smtpsprefix should be used instead.Examples: [1] [2] [3] [4]
The cleanest fix, I think, is to implement additional abstract property name getters under the
TransportStrategyenum.