EmailInfoProvider FetchEmails Method Kentico 8.0 API Reference
Fetches e-mails which should be sent and marks them as being sent.

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

Parameters

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

Return Value

Type: OnlineDataSet
DataSet with fetched e-mails
See Also