EmailInfoProviderDeleteArchived Method |
Deletes expired archived e-mails.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 12.0.0
Syntax 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