bbottema/simple-java-mail

ServerConfig class should be public API

thatsIch opened this issue · 2 comments

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.

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

Thanks for the quick fix!

Have a nice day :)