Package org.opencms.newsletter
Class CmsNewsletterDistributor
java.lang.Object
org.opencms.newsletter.CmsNewsletterDistributor
A content distributor that sends the extracted xmlcontent data to the recepient via email.
Class to send a newsletter to a number of CmsNewsletterRecipients
- Since:
- 6.0.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
distribute
(CmsObject cms, List<I_CmsNewsletterRecipient> recipients, I_CmsNewsletter newsletter) Sends aI_CmsNewsletter
to a list ofI_CmsNewsletterRecipient
objects.
-
Constructor Details
-
CmsNewsletterDistributor
public CmsNewsletterDistributor()
-
-
Method Details
-
distribute
public void distribute(CmsObject cms, List<I_CmsNewsletterRecipient> recipients, I_CmsNewsletter newsletter) Sends aI_CmsNewsletter
to a list ofI_CmsNewsletterRecipient
objects.- Parameters:
recipients
- a list of CmsNewsletterRecipient objectsnewsletter
- the newsletter to be distributedcms
- the CmsObject
-