Specifies the mail server's IP Address or domain name. A port name can be appended with a colon and portnumber (smtp.mydomain.com:587).
A mail server is required to send an SMTP message and you will have to know the mail server IP Address or domain name, plus possibly authentication information (username and password) to connect to the mail server. Typically this information is user supplied or stored in a configuration file of the application.
Note the domain name or IP address is a pure IP/domain name address - do not specify any protocol prefixes like http:// or smtp:// etc.
See also:Class wwSMTP | wwSmtp::SendMail | wwSmtp::cUsername | wwSmtp::cPassword
Comment or report problem with topic