PowerTCP Mail for .NET
Capabilities Property




Gets a List of strings representing the capabilities of the server.
Syntax
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();
}

Property Value

A System.Collections.Specialized.StringCollection.
Remarks

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.

See Also

Reference

MailBase Class
MailBase Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic