EmailInfoProvider FetchMassEmail Method Kentico 8.1 API Reference
Fetches mass e-mail which should be sent and marks it as being sent.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

emailsToFetch
Type: CMS.EmailEngine EmailMailoutEnum
Determines which e-mails are to be fetched
emailId
Type: OnlineSystem Int32
ID of the pattern e-mail
firstUserId
Type: OnlineSystem Int32
First user ID (only users with the same or higher ID are fetched)
batchSize (Optional)
Type: OnlineSystem Int32
Number of users to retrieve; default value is 0 - in this case batch size is retrieved from Settings

Return Value

Type: OnlineDataSet
DataSet with users whom the mass e-mail should be sent
See Also