Sends AUTH command to SMTP server.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void Auth( AUTH_SASL_Client sasl )
Public Sub Auth ( sasl As AUTH_SASL_Client )
public: void Auth( AUTH_SASL_Client^ sasl )
member Auth : sasl : AUTH_SASL_Client -> unit
Parameters
- sasl (AUTH_SASL_Client)
- SASL authentication. You can use method AuthGetStrongestMethod(String, String) to get strongest supported authentication.
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 or is already authenticated. |
SMTP_ClientException | Is raised when SMTP server returns error. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119