SMTPSADD parameter

From m204wiki
Jump to navigation Jump to search

Default SMTP server 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

SMTPSADD is the default server address for the $SndMail function. You can specify SMTPSADD 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

On z/OS systems, the SMTPSADD parameter supports IPv6 network addresses. 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 SMTPSADD for a specific call by entering a different value in the EMAILD parameter of the $SndMail function call.