Class SendMailEngine
java.lang.Object
org.ametys.plugins.newsletter.workflow.SendMailEngine
- All Implemented Interfaces:
Runnable
Sends mails in a thread
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SendMailEngine
public SendMailEngine()
-
-
Method Details
-
parameterize
public void parameterize(String subject, String htmlBody, String textBody, Map<String, String> recipients, String sender) Parameterize engine- Parameters:
subject- The mail subjecthtmlBody- The mail body in HTML formattextBody- The mail body in text formatrecipients- The recipient addressessender- The sender address
-
run
-