Dart.Mail Namespace > Pop Class : GetDefaultPort Method |
Public Shared Function GetDefaultPort( _ ByVal session As MailSession _ ) As Integer
Dim session As MailSession Dim value As Integer value = Pop.GetDefaultPort(session)
public static int GetDefaultPort( MailSession session )
public: static int GetDefaultPort( MailSession* session )
public: static int GetDefaultPort( MailSession^ session )
If MailSecurity.Encrypt == Encrypt.Implicit, port 995 is returned (the well-known secure POP3 server port). Otherwise, 110 is returned (the well-known POP3 server port).
Used to initialize Session.RemoteEndPoint.Port if not initialized by the user.