Skip to content

ServerConfig class should be public API #136

Closed

Description

@thatsIch

We require some post-validation after the mailer and email is constructed to check if all the required fields were set but calling

public class Mailer {
    ...
    public ServerConfig getServerConfig() {
    ...
}

returns a package private org.simplejavamail.mailer.ServerConfig which is also not declared as internal via package structure.

Activity

  1. self-assigned this
    on Apr 11, 2018
  2. added a commit that references this issue on Apr 11, 2018
  3. changed the title [-]MailerBuilder generates Mailer with non public ServerConfig[/-] [+]ServerConfig class should be public API[/+] on Apr 11, 2018
  4. bbottema commented on Apr 11, 2018

    @bbottema
    Owner

    Yikes, that slipped the cracks. Thanks for the heads up. Released in Maven Central, v5.0.3

  5. thatsIch commented on Apr 11, 2018

    @thatsIch
    Author

    Thanks for the quick fix!

    Have a nice day :)

  6. added this to the 5.0.3 milestone on Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions