Resets SMTP session, all state data will be deleted.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("Use Rset method instead.")] public void Reset()
<ObsoleteAttribute("Use Rset method instead.")> Public Sub Reset
public: [ObsoleteAttribute(L"Use Rset method instead.")] void Reset()
[<ObsoleteAttribute("Use Rset method instead.")>] member Reset : unit -> unit
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
InvalidOperationException | Is raised when SMTP client is not connected. |
SMTP_ClientException | Is raised when SMTP server returns error. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119