Logs user in using USER and PASS commands. This method sends the password in clear text, unless SSL connection is used.

Namespace: Lesnikowski.Client
Assembly: Mail (in Mail.dll) Version: 3.0.1213.909

Syntax

C#
public void Login(
	string user,
	string password
)
Visual Basic
Public Sub Login ( _
	user As String, _
	password As String _
)
Visual C++
public:
void Login(
	String^ user, 
	String^ password
)

Parameters

user
Type: System..::..String
User's login.
password
Type: System..::..String
User's password.

Exceptions

ExceptionCondition
Lesnikowski.Client..::..ServerException Throws ServerException on -ERR response.

See Also