RelayPort Property  

Gets and sets the port number for the specified relay server.


object.RelayPort [= value ]


The RelayPort property defines the port number which is used to establish a connection with the mail server. This property is used in conjunction with the RelayServer property to specify an alternate mail server which is responsible for delivering messages for the current user.

If this property is not set, the default SMTP port will be used when connecting to a relay mail server.

Data Type

Integer (Int32)

See Also

RelayServer Property