Click or drag to resize
EmailQueueManagerFetchEmailsToSend Method (Boolean, Boolean, Int32, Int32)
Fetches the e-mails which should be sent from database and marks them as being sent.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax
C#
public static DataSet FetchEmailsToSend(
	bool fetchFailed,
	bool fetchNew,
	int firstEmailId,
	int issueId
)

Parameters

fetchFailed
Type: SystemBoolean
If true, failed e-mails are fetched
fetchNew
Type: SystemBoolean
If true, new e-mails are fetched
firstEmailId
Type: SystemInt32
First e-mail ID (all e-mails should have the same or larger ID)
issueId
Type: SystemInt32
If set, only e-mails of specified issue will be fetched

Return Value

Type: DataSet
See Also