LumiSoft Net Help
Authenticate Method (userName, password, tryApop)
NamespacesLumiSoft.Net.POP3.ClientPOP3_ClientAuthenticate(String, String, Boolean)
Authenticates user.
Declaration Syntax
C#Visual BasicVisual C++F#
[ObsoleteAttribute("Use Login/LoginAsync method instead.")]
public void Authenticate(
	string userName,
	string password,
	bool tryApop
)
<ObsoleteAttribute("Use Login/LoginAsync method instead.")>
Public Sub Authenticate ( 
	userName As String,
	password As String,
	tryApop As Boolean
)
public:
[ObsoleteAttribute(L"Use Login/LoginAsync method instead.")]
void Authenticate(
	String^ userName, 
	String^ password, 
	bool tryApop
)
[<ObsoleteAttribute("Use Login/LoginAsync method instead.")>]
member Authenticate : 
        userName : string * 
        password : string * 
        tryApop : bool -> unit 
Parameters
userName (String)
User login name.
password (String)
Password.
tryApop (Boolean)
If true and POP3 server supports APOP, then APOP is used, otherwise normal login used.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when POP3 client is not connected or is already authenticated.
POP3_ClientExceptionIs raised when POP3 server returns error.

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