Port Parameter (Connect-Email Cmdlet)
The port of the mail server. The default value is 143 for IMAP and 110 for POP.
Syntax
Connect-Email -Port string
Data Type
cstr
Default Value
""
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.