Mail script variables
Certain variables are available when processing mail_script scripts.
For examples of mail scripts, see Example scripting for email notifications.
| Variable | Object Description |
|---|---|
| template | Handles printing from the mail script to the email message.
|
| email_action | GlideRecord object for the email notification (sysevent_email_action). |
| event | GlideRecord object for the event that fired the notification (sysevent). |
|
EmailOutbound object Available methods:
setFrom and setReplyTo needs to be in a valid form such as helpdesk@sn.com or Display Name
<helpdesk@sn.com>. If the email address includes a 'Display Name', then that value overrides the instance's display name.For more information, see GlideEmailOutbound - Scoped. |