EmailInfoProviderFetchMassEmail Method |
Fetches mass e-mail which should be sent and marks it as being sent.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.2.23
Syntax public static DataSet FetchMassEmail(
EmailMailoutEnum emailsToFetch,
int emailId,
int firstUserId,
int batchSize = 0
)
Parameters
- emailsToFetch
- Type: CMS.EmailEngineEmailMailoutEnum
Determines which e-mails are to be fetched - emailId
- Type: SystemInt32
ID of the pattern e-mail - firstUserId
- Type: SystemInt32
First user ID (only users with the same or higher ID are fetched) - batchSize (Optional)
- Type: SystemInt32
Number of users to retrieve; default value is 0 - in this case batch size is retrieved from Settings
Return Value
Type:
DataSetDataSet with users whom the mass e-mail should be sent
See Also