Class MailerFactory

java.lang.Object
ch.autumo.commons.mailing.MailerFactory

public class MailerFactory extends Object
Mailer factory.
  • Constructor Details

    • MailerFactory

      public MailerFactory()
  • Method Details

    • getInstance

      public static Mailer getInstance() throws Exception
      Get mailer (jakarta or javax).
      Returns:
      mailer
      Throws:
      Exception - if mailer instance cannot be acquired