ServerConfig class should be public API
thatsIch opened this issue · comments
thatsIch commented
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.
Benny Bottema commented
Yikes, that slipped the cracks. Thanks for the heads up. Released in Maven Central, v5.0.3
thatsIch commented
Thanks for the quick fix!
Have a nice day :)