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

Enhancement: add mailerBuilder.withTransportModeLoggingOnly() as mailer API entry point

bbottema opened this issue · comments

Without this, a user would be forced to start with a dummy SMTP server.

7.8.0 released, now SMTP server config can be omitted in case of withTransportModeLoggingOnly:

Mailer mailer = MailerBuilder
    .withTransportModeLoggingOnly()
    .(...)
    .buildMailer();