Class SendMailEngine
- java.lang.Object
-
- org.ametys.plugins.newsletter.workflow.SendMailEngine
-
- All Implemented Interfaces:
Runnable
public class SendMailEngine extends Object implements Runnable
Sends mails in a thread
-
-
Constructor Summary
Constructors Constructor Description SendMailEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
parameterize(String subject, String htmlBody, String textBody, Map<String,String> recipients, String sender)
Parameterize enginevoid
run()
-
-
-
Constructor Detail
-
SendMailEngine
public SendMailEngine()
-
-
Method Detail
-
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
-
-