Notification
A Notification object represents one email notification attached to a form. A form can have more than one notification.
Properties
The notification ID.
The form ID this notification belongs to.
The email template ID, when one is selected.
The PDF template ID, when one is selected.
The control panel name for the notification.
The notification handle.
Whether the notification is enabled.
The email subject.
The recipient mode, such as email or conditions.
The email address or variable content used for the To recipient.
The conditional rules that decide the To recipient.
The email address or variable content used for the Cc recipient.
The email address or variable content used for the Bcc recipient.
The reply-to email address or variable content.
The reply-to name or variable content.
The sender email address.
The sender name.
The raw notification content.
Whether user-uploaded files should be attached.
The setting for whether a PDF is attached to the email.
Whether the notification has sending conditions enabled.
The conditions used to decide whether the notification should send.
Methods
Returns the notification content as rendered HTML.
Returns the notification’s To recipient for a submission.
Returns the status condition for a submission, when applicable.
Returns notification template content rendered with the variables you pass.
Returns the selected email template model, if one is set.
Returns the selected PDF template model, if one is set.
Returns asset attachments for the notification.