Switches connection to secure connection.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void StartTls()
Public Sub StartTls
public: void StartTls()
member StartTls : unit -> unit
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed. |
InvalidOperationException | Is raised when IMAP client is not in valid state. For example 'not connected'. |
IMAP_ClientException | Is raised when server refuses to complete this command and returns error. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119