property Message.Port as Long
Retrieves or sets the server's port.
Type
Description
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.