NOTIFY command

Used to send email notification messages.


NOTIFY USER username <PASSWORD pwd> MAILBOX pathname ADDRESS recipient
<CC cc_recipient> <BCC bcc_recipient> <SUBJECT subject> MESSAGE message
<ATTACHMENT pathname>


USER username

Specifies the email to use to send the message through a SMTP mail server.


Specifies the password for the mail server.

MAILBOX pathname

Specifies the SMTP server name to use to send the email message. For example:

ADDRESS recipient

Specifies the email addresses of recipients you want to send the message to. Separate the email addresses of multiple recipients with a comma.

CC cc_recipient

Specifies the email addresses of carbon copy recipients.

BCC bcc_recipient

Specifies the email addresses of blind carbon copy recipients.

SUBJECT subject

Specifies the text of the subject line.

MESSAGE message

Specifies the text of the message.


Specifies the path and filename of one or more attachments. You must use a quoted string. You can specify multiple attachments by entering a comma separated list of files for the pathname parameter. For example, “result1,result2”


You can use the NOTIFY command to send email notification messages, which can include attached data files and ACL projects. The NOTIFY command can be used to notify the appropriate personnel when a script fails unexpectedly. The command can be used with any mail server that supports the SMTP protocol, which is used by Microsoft Exchange and many other mail servers. The NOTIFY command can also be used with older e-mail applications, from Microsoft and others, that send mail locally.


The following example uses the NOTIFY command to send a error report email with two attached files when a script fails.

ADDRESS "" SUBJECT "Error Report" 
MESSAGE "Failed to process script. Details attached." 
ATTACHMENT "Errors.fil,ACL_Demo.log" 

(C) 2013 ACL Services Ltd. All Rights Reserved. | Send feedback