Switches POP3 connection to SSL.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("Use Stls/StlsAsync method instead.")] public void StartTLS()
<ObsoleteAttribute("Use Stls/StlsAsync method instead.")> Public Sub StartTLS
public: [ObsoleteAttribute(L"Use Stls/StlsAsync method instead.")] void StartTLS()
[<ObsoleteAttribute("Use Stls/StlsAsync method instead.")>] member StartTLS : unit -> unit
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
InvalidOperationException | Is raised when POP3 client is not connected or is authenticated or is already secure connection. |
POP3_ClientException | Is raised when POP3 server returns error. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119