Gets and sets a value which specifies the type of mail server the client is connecting to.
Returns a MailServerType enumeration value which specifies the type of mail server, either using the Post Office Protocol or the Internet Message Access Protocol.
If this property value is specified as serverUnknown, the actual server type will be determined by the value of the ServerPort property, if the port number is recognized as a standard serivce port. If the server type cannot be automatically identified, an error will be returned when the Connect method is called.
If you are connecting using a non-standard port number, you should always initialize this property value to the correct server type before attempting to establish a connection.
InternetMail Class | SocketTools Namespace