Header statement

Use the Header statement to change the behavior of CSSMTP when you create RFC 2822 mail headers. The mail headers are created when the JES spool file is processed. If the Header parameters are modified, mail headers that have been created are not altered.

Syntax

Read syntax diagramSkip visual syntax diagramHeaderPut Braces and Parameters on Separate Lines
Put Braces and Parameters on Separate Lines
Read syntax diagramSkip visual syntax diagram{Header Parameters}
Header Parameters
Read syntax diagramSkip visual syntax diagram Date YESDate YESNO UserInfo YESUserInfo YESNO

Parameters

Date
Specifies whether CSSMTP adds the Date: header if the header is missing.
NO
The Date: header is not inserted into the mail message by CSSMTP.
YES
The Date: header is inserted into the mail message by CSSMTP. This is the default value.
UserInfo
Specifies whether user information is included in Mail headers that CSSMTP creates.
NO
User information is not inserted into the mail message by CSSMTP. This setting applies to the following information:
  • If CSSMTP creates the Message-ID: header, the job name of the mail message of the JES spool file and the job identifier of the JES spool file are not included in the Message-ID: header.
  • The CSSMTP JobName is inserted in the for field of the Received: header instead of the JES origin USER ID and the optional Notify USER ID.
  • The job name of the mail message of the JES spool file and the job identifier of the JES spool file are not included in the Id field of the Received: header.
YES
User information is inserted into the mail message by CSSMTP. This is the default value.