Connects to the SMTP server.

      Overload List

      Connect(String)Connects to the SMTP server.Connect(String, Int32)Connects to the SMTP server.Connect(String, SslSecurityMode)Connects to the SMTP server with the specified security. Uses port 25 for no SSL, 587 for explicit SSL and 465 for implicit SSL.Connect(String, Int32, SslSecurityMode)Connects to the SMTP server with the specified security.Connect(String, Int32, SslConfigBase, SslSecurityMode)Connects to the SMTP server with the specified security.
      Top

      See Also