Click or drag to resize
EmailInfoProviderDeleteArchived Method
Deletes expired archived e-mails.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 11.0.0
Syntax
C#
public static void DeleteArchived(
	int siteId,
	DateTime expirationDate,
	int batchSize
)

Parameters

siteId
Type: SystemInt32
Site ID
expirationDate
Type: SystemDateTime
Every archived email older that expiration date will be deleted
batchSize
Type: SystemInt32
Number of emails to be deleted at once
See Also