Logs user in using APOP 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 LoginAPOP(
	string user,
	string password
)
Visual Basic
Public Sub LoginAPOP ( _
	user As String, _
	password As String _
)
Visual C++
public:
void LoginAPOP(
	String^ user, 
	String^ password
)

Parameters

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

Remarks

APOP is optional command and a POP3 server does NOT need to support it. A POP3 server which implements the APOP command will include a timestamp in its banner greeting. Check HasTimeStamp property in order to know if server included the timestamp. Some servers include timestamp, but do NOT support APOP command. This command is unnecessary if you are using SSL, use Login(String, String) method instead.

Exceptions

ExceptionCondition
Lesnikowski.Client..::..ServerException Throws ServerException on -ERR response. Throws ServerException when there is no timestamp (HasTimeStamp==false).

See Also