Dart.Mail Namespace > MailBase Class : Capabilities Property |
Public ReadOnly Property Capabilities As List(Of String)
Dim instance As MailBase Dim value As List(Of String) value = instance.Capabilities
public List<string> Capabilities {get;}
public: __property List<string*>* get_Capabilities();
public: property List<String^>^ Capabilities { List<String^>^ get(); }
The component queries the server for a list of its capabilities, which is presented in this List. For example, if Imap.Capabilities contains "IDLE", then the server supports the IMAP IDLE command. If Pop.Capabilities contains "GSSAPI", the server supports GSSAPI authentication. If the server does not advertise its capabilities then this collection will be empty.
Pop capabilities are queried using the "CAPA" command. Imap capabilities are queried using the "CAPABILITY" command. Smtp capabilities are returned from the "EHLO" command, so are only available from ESMTP servers.