The HELO SMTP command is following the syntax as described in RFC 821.   
HELO <SP> <domain> <CRLF>

domain is a required parameter.  For the z/OS SMTP server it can be any string. 
 The string itself is ignored by the server.  A possible use is to identify the 
z/OS LPAR that created the mail message.

Since this is a CICS task creating the mail message, the CICS SOCKET API could 
be used to obtain the host name.  Use the gethostname() function.   Use the 
socket() function to obtain a socket, call the gethostname() function and call 
the close() function to close the socket.

Or use the SMFID, the system name from the CVTSNAME field, or the CICS system 
name.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to