Header (-HDR)
When used on input, the Header command option (-HDR) of the email adapter retrieves the message header in the following format:
From: originator[originator_address]
Subject: subject text
Date: yyyy/mm/dd hh: mm
To: recipient[recipient_address]; ...;
recipient[recipient_address]
cc: recipient[recipient_address]; ...;
recipient[recipient_address]
bcc: recipient[recipient_address]; ...;
recipient[recipient_address]
-HDR[+]
- Option
- Description
- +
- Append user-supplied headers
On output, the (-HDR+) option can be used to append the user-supplied header fields to the message header. Each header field should be terminated by a CR/LF and an empty line (CR/LF only) delimits the headers from the data.
Note: The (-HDR+) option is only compatible with internet email transport
protocol (-PROTO INET) on output.
For example, use the -HDR+ command to append the user-supplied header fields to include:
X-MyfirstHeader:John
X-MysecondHeader:Paul
X-MythirdHeader:Michael
This is my message.