Hunny Software Library Reference

Imap4Client.Login Method 

Sends a LOGIN command.

[Visual Basic]
Public Sub Login( _
   ByVal userName As String, _
   ByVal password As String _
)
[C#]
public void Login(
   string userName,
   string password
);

Parameters

userName
The user name for the login.
password
The password for the login.

Remarks

A LOGIN command allows basic username/password authentication.

Exceptions

Exception TypeCondition
ExceptionIf a network or protocol error occurs.

See Also

Imap4Client Class | Hunny.Mail Namespace | LOGIN command in the IMAP4 specification