Logs user in using AUTH CRAM-MD5 command. This method does NOT send the password in clear text.

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

Syntax

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

Parameters

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

Remarks

This command is unnecessary if you are using SSL, use Login(String, String) method instead.

Exceptions

ExceptionCondition
Lesnikowski.Client..::..ServerExceptionThrows ServerException on negative response.

See Also