Package ch.autumo.commons.mailing
Class JakartaMailer
java.lang.Object
ch.autumo.commons.mailing.AbstractMailer
ch.autumo.commons.mailing.JakartaMailer
- All Implemented Interfaces:
Mailer
Jakarta Mailer.
-
Field Summary
Fields inherited from class ch.autumo.commons.mailing.AbstractMailer
auth, from, host, password, port, portStr, pwEncoded, tlsEnable, user
Fields inherited from interface ch.autumo.commons.mailing.Mailer
EMAIL_PATTERN
-
Constructor Summary
-
Method Summary
Methods inherited from class ch.autumo.commons.mailing.AbstractMailer
getProperties
-
Constructor Details
-
JakartaMailer
public JakartaMailer()
-
-
Method Details
-
mail
Description copied from interface:Mailer
Mail. HTML + TXT templates are served.- Specified by:
mail
in interfaceMailer
- Specified by:
mail
in classAbstractMailer
- Parameters:
to
- email receiver addressessubject
- subjecthtml
- HTML contentstext
- text contents- Throws:
Exception
- when mailing fails- See Also:
-