property Uri: string;
Description
Gets or sets the Uniform Resource Identifier (URI) of the SMTP server.
The Uri property can consist of a hostname and an optional port number. Uri without port information implies the default port (port 25).
An example complying with requirements that specifies a port of 465 would be the following value for the Uri property: 'smtp://host.com:465'.
When setting the Uri property, there is value parsing and the HostName, Port, Username and Password properties are reset.
See Also