LumiSoft Net Help
StartTLS Method
NamespacesLumiSoft.Net.SMTP.ClientSMTP_ClientStartTLS()()()()
Sends STARTTLS command to SMTP server.
Declaration Syntax
C#Visual BasicVisual C++F#
public void StartTLS()
Public Sub StartTLS
public:
void StartTLS()
member StartTLS : unit -> unit 
Remarks
After successful STARTTLS all SMTP session data(EHLO,MAIL FROM, ....) will be reset. If unknwon(not SMTP error) error happens during STARTTLS negotiation, SMTP client should disconnect.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when SMTP client is not connected or is already secure connection.
SMTP_ClientExceptionIs raised when SMTP server returns error.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119