Click or drag to resize
EmailInfoProviderFetchMassEmail Method
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: 13.0.131
Syntax
C#
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: DataSet
DataSet with users whom the mass e-mail should be sent
See Also