Skip to content

MailSender doesn't correctly set JavaMail properties for SMTPS connections #111

@cbarcenas

Description

@cbarcenas

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions