SMTPPort Parameter (Connect-Email Cmdlet)
The server port for SMTP (default 25).
Syntax
Connect-Email -SMTPPort string
Data Type
cstr
Default Value
"25"
Remarks
A valid port number (a value between 1 and 65535) is required for the connection to take place. The property must be set before a connection is attempted and cannot be changed once a connection is established.
This is a required parameter.