Domain (Email property)

From m204wiki
Jump to navigation Jump to search

Domain name of host (Email class)


This method retrieves or sets the domain name of the SMTP server host.

Syntax

%currentString = email:Domain email:Domain = newString

Syntax terms

%currentString A string or longstring variable to contain the current value of the Domain property
email An Email object.
newString The domain name of the SMTP server host.

Usage notes

  • You can set the domain name to an arbitrary string, but generally you should set it to the domain of the host that is sending the email. The default is the value specified in the JANUS DOMAIN specification.

See also