MAILOPTS

Purpose

The MAILOPTS statement defines the default values for the emails' text specified in the EQQMAIL data set, and the options for sending an email when the alert condition that you set in ALERTS occurs. This statement is optional and is used by the Z controller.

Format


1  MAILOPTS?  MAILDOMAIN (
2.1 domain name
1 )?  MAILEXTWRT (
2.1 external writer name
1 )  MAILFROM (
2.1 sender address
1 )  MAILJCLMEM (
2.1 user jcl member
1 )

Parameters

MAILDOMAIN(domain)
Domain name of the email address. This value is used as default domain in the member RULES contained in the partitioned data set EQQEMAIL.

Blank characters are not allowed. If the value that you specify is longer than one row, ensure that you always begin at column 1.

MAILEXTWRT(external writer name)
Name of the JES external writer used by the Communication Server SMTP (CSSMTP). You can specify up to 8 alphanumeric characters. The default value is CSSMTP (typically the CSSMTP job name).

MAILFROM(sender address)
Address of the sender of the email, in the format local-part@domain, where:
local-part
Name of a box or user.
domain
Name of the domain. Blank characters are not allowed.

The domain name is preceded by the at sign (@), if your code page does not support this character use the hexadecimal value x'7c'.

If the value that you specify is longer than one row, ensure that you always begin at column 1.

This value is used as default for the From field in the member RULES of the partitioned data set EQQEMAIL.

MAILJCLMEM(user jcl member)
Name of a customized JCL member (up to 8 alphanumeric characters) to be used for sending emails by JES and CSSMTP, instead of the default internal JCL. You must have stored this member in the partitioned data set EQQEMAIL.