| IPop3ClientGetLanguagesAsync Method |
Asynchronously get the list of languages supported by the POP3 server.
Namespace: MailKit.Net.Pop3Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax Task<IList<Pop3Language>> GetLanguagesAsync(
CancellationToken cancellationToken = default
)
Parameters
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskIListPop3LanguageThe supported languages.
Exceptions Remarks
If the POP3 server supports the LANG extension, it is possible to
query the list of languages supported by the POP3 server that can
be used for error messages.
See Also