bbottema / simple-java-mail

Simple API, Complex Emails (Jakarta Mail smtp wrapper)

Home Page:http://www.simplejavamail.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ServerConfig class should be public API

thatsIch opened this issue · 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 :)