LumiSoft Net Help
Authenticate Method (userName, password)
NamespacesLumiSoft.Net.SMTP.ClientSMTP_ClientAuthenticate(String, String)
Authenticates user. Authenticate method chooses strongest possible authentication method supported by server, preference order DIGEST-MD5 -> CRAM-MD5 -> LOGIN.
Declaration Syntax
C#Visual BasicVisual C++F#
[ObsoleteAttribute("Use method 'Auth' instead.")]
public void Authenticate(
	string userName,
	string password
)
<ObsoleteAttribute("Use method 'Auth' instead.")>
Public Sub Authenticate ( 
	userName As String,
	password As String
)
public:
[ObsoleteAttribute(L"Use method 'Auth' instead.")]
void Authenticate(
	String^ userName, 
	String^ password
)
[<ObsoleteAttribute("Use method 'Auth' instead.")>]
member Authenticate : 
        userName : string * 
        password : string -> unit 
Parameters
userName (String)
User login name.
password (String)
Password.
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 authenticated.
ArgumentNullExceptionIs raised when userName is null.
SMTP_ClientExceptionIs raised when SMTP server returns error.

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