For SMTPClient object

Applies to

SMTPClient object

Description

Sets the server port when connecting to services.

Usage

In scripts

The Port property takes a long value. You can change the port name in script as follows:

lnv_SmtpClient.Port = 587