SMTPCADD parameter
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 description in the Rocket Model 204 User Language Manual.
You can override SMTPCADD for a specific call by entering a different value in the EMAILD parameter of the $SNDMAIL function call.