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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoiddistribute(CmsObject cms, List<I_CmsNewsletterRecipient> recipients, I_CmsNewsletter newsletter) Sends aI_CmsNewsletterto a list ofI_CmsNewsletterRecipientobjects. 
- 
Constructor Details
- 
CmsNewsletterDistributor
public CmsNewsletterDistributor() 
 - 
 - 
Method Details
- 
distribute
public void distribute(CmsObject cms, List<I_CmsNewsletterRecipient> recipients, I_CmsNewsletter newsletter) Sends aI_CmsNewsletterto a list ofI_CmsNewsletterRecipientobjects.- Parameters:
 cms- the CmsObjectrecipients- a list of CmsNewsletterRecipient objectsnewsletter- the newsletter to be distributed
 
 -