Package ch.autumo.beetroot.mailing
Interface Mailer
- All Known Implementing Classes:
AbstractMailer,JakartaMailer,JavaxMailer
public interface Mailer
Mailer interface.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
EMAIL_PATTERN
Email address regex pattern.
-
-
Method Details
-
mail
void mail(String[] to, String subject, Map<String, String> variables, String templateName, BeetRootHTTPSession session) throws ExceptionMail. HTML + TXT templates are served.- Parameters:
to- email receiver addressessubject- subjectvariables- variables to parse in templatestemplateName- template namesession- HTTP session or null if not called within a servlet context (default language used)- Throws:
Exception- exception
-