Codeunit CCS DIS Email Management
codeunit 5100911 "CCS DIS Email Management"
Methods
DeleteBySetup
public "CCS DIS Email Management" DeleteBySetup(): None
Deletes all processed email queue entries based on the setup.
Return Value
None
Events
OnBeforeTrySendEmail
event "CCS DIS Email Management" OnBeforeTrySendEmail(Recipients: List of [Text]; Subject: Text; BodyText: Text; var IsHandled: Boolean)
The event is fired before the email is send.
Subscribe this event for IsHandled pattern.
Parameters
Name | Type | Description |
---|---|---|
Recipients | List of [Text] |
The list of receipients (email adresses). |
Subject | Text |
The subject of the mail. |
BodyText | Text |
The body text of the mail. |
IsHandled | Boolean |
Set to true, if the default logic should be skipped. |
Attributes
Name | Arguments |
---|---|
IntegrationEvent | False, False |