Notification
A Notification object represents one email notification attached to a form. A form can have more than one notification.
Properties
Type: int|null
The notification ID.
Type: int|null
The form ID this notification belongs to.
Type: int|null
The email template ID, when one is selected.
Type: int|null
The PDF template ID, when one is selected.
Type: string|null
The control panel name for the notification.
Type: string|null
The notification handle.
Type: bool|null
Whether the notification is enabled.
Type: string|null
The email subject.
Type: string
The recipient mode, such as email or conditions.
Type: string|null
The email address or variable content used for the To recipient.
Type: array|null
Conditional recipient rules for the To recipient.
Type: string|null
The email address or variable content used for the Cc recipient.
Type: string|null
The email address or variable content used for the Bcc recipient.
Type: string|null
The reply-to email address or variable content.
Type: string|null
The reply-to name or variable content.
Type: string|null
The sender email address.
Type: string|null
The sender name.
Type: string|null
The raw notification content.
Type: bool|null
Whether user-uploaded files should be attached.
Type: string|null
Whether a PDF should be attached.
Type: bool|null
Whether the notification has sending conditions enabled.
Type: array|null
The conditions used to decide whether the notification should send.
Methods
Returns: string
Returns the notification content as rendered HTML.
Returns: string|null
Resolves the notification’s To recipient for a submission.
Returns: string|null
Returns the status condition for a submission, when applicable.
Returns: string
Renders notification template content with supplied variables.
Returns: verbb\formie\models\EmailTemplate|null
Returns the selected email template model, if one is set.
Returns: verbb\formie\models\PdfTemplate|null
Returns the selected PDF template model, if one is set.
Returns: array
Returns asset attachments for the notification.