Pop3CapabilitiesGetValues Method

Get the values advertised for the specified capability keyword.

Definition

Namespace: MailKit.Net.Pop3
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public IReadOnlyList<string> GetValues(
	string key
)

Parameters

key  String
The capability keyword (e.g. "SASL" or "EXPIRE").

Return Value

IReadOnlyListString
The values advertised for the capability keyword or an empty list if there were none.

Remarks

Gets the parameters advertised by the server for the specified capability keyword. For example, if the server advertised "SASL PLAIN LOGIN", then GetValues ("SASL") would return "PLAIN" and "LOGIN".

This method is not affected by Disable(Pop3Capability).

Exceptions

See Also