 | Pop3LoginAPOPAsync Method |
Logs user in using APOP command. This method does NOT send the password in clear text.
Namespace: Limilabs.Client.POP3Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task LoginAPOPAsync(
string user,
string password,
CancellationToken cancel = default
)
Public Function LoginAPOPAsync (
user As String,
password As String,
Optional cancel As CancellationToken = Nothing
) As Task
public:
Task^ LoginAPOPAsync(
String^ user,
String^ password,
CancellationToken cancel = CancellationToken()
)
member LoginAPOPAsync :
user : string *
password : string *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task Parameters
- user String
- User's login.
- password String
- User's password.
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskA task that represents the asynchronous login operation.
Exceptions
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.
See Also