Executes USER/PASS command.
| C# | Visual Basic | Visual C++ | F# |
public void Login( string user, string password )
Public Sub Login ( user As String, password As String )
public: void Login( String^ user, String^ password )
member Login : user : string * password : string -> unit
| Exception | Condition |
|---|---|
| ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
| InvalidOperationException | Is raised when POP3 client is not connected or is already authenticated. |
| ArgumentNullException | Is raised when user or password is null reference. |
| ArgumentException | Is raised when any of the arguments has invalid value. |
| POP3_ClientException | Is raised when POP3 server returns error. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119