Skip to content

wrong-case description of default protocol string [SPR-2990] #7676

@spring-projects-issues

Description

@spring-projects-issues

Oran Epelbaum opened SPR-2990 and commented

The documentation for the setProtocol() method in JavaMailSender says that the default is "SMTP", while in fact it is "smtp".
If you set this attribute explicitly to "SMTP", expecting the behavior to match the default behavior, you actually get a NoSuchProviderException.


Affects: 2.0.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions