SMTPCADD parameter

From m204wiki
Revision as of 15:55, 24 July 2017 by JAL (talk | contribs) (add <var>'s)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Default SMTP client address

Summary

Default value
0
Parameter type
System
Where set
On User 0's parameter line or reset by system manager
Related products
All
Introduced
Model 204 V7.4

Description

SMTPCADD is the default client address, the TCP/IP domain for the operating system, for the $SndMail function. You can specify SMTPCADD as:

  • Domain name of up to 255 bytes

    If the first character of the address is an alphabetic character (A to Z), it is automatically evaluated as a domain name.

  • Internet Protocol (IP) address, IPv4 format, in dotted decimal notation
  • (z/OS only) Internet Protocol (IP) address, IPv6 format, in colon-separated notation

Symbolic names, such as CCAMVS1, are looked up using the GETADDRINFO service, which is capable of returning IPv6 addresses. For more information on specifying IPv6 network addresses, see the $SndMail M204wiki page.

You can override SMTPCADD for a specific call by entering a different value in the EMAILD parameter of the $SndMail function call.