Skip to main content

Manage Email Events

Email events control the outgoing notification workflow in Deepser. They define when a notification is sent, which template is used, and who receives the email. Deepser includes multiple preconfigured email events for standard situations.

Enable or Disable an Email Event

  1. In the Deepser Backend, go to System > Tools > Email > Events.

  2. The grid displays all email events. Each event has a descriptive title in the format: "Recipients -- triggering event".

  3. Select an event, for example Requester - New Operation.

  4. Set the Status field to Enabled or Disabled, then click Save or Apply.

Email Event Fields

FieldDescription
NameDescriptive name for the event.
CodeEvent code, typically a normalized version of the name (e.g., "requester_user_new_operation").
StatusEnabled or Disabled.
Send AttachmentsIf Yes, the record's attachments are sent with the email, filtered by the most limited visibility among recipients.
Email TemplateThe template used to generate the notification email.
ModelThe entity (e.g., "DeepService - Operation") whose save action triggers the event.
Event ExpressionPHP code defining the condition under which the notification is sent.
ToPHP scripting area for adding email addresses in the To field.
CcPHP scripting area for adding email addresses in the Cc field.
BccPHP scripting area for adding email addresses in the Bcc field.
Custom CodePHP code executed after the email is sent.
note

To learn more about configuring attachment visibility, see the Attachments Configuration section.