property Message.Port as Long
Retrieves or sets the server's port.

TypeDescription
Long A long expression that indicates the SMTP server port.
By default, the Port property is 25. Some SMTP servers require another port to send data to.