Pop3GetExtensionValue Method |
Returns the parameters of the specified POP3 capability, or an empty string
if the capability has no parameters.
Namespace: MailBee.Pop3MailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public string GetExtensionValue(
string name
)
Public Function GetExtensionValue (
name As String
) As String
Parameters
- name
- Type: SystemString
The name of the capability. This name is case-insensitive, e.g. pipelining and PIPELINING mean the same.
Return Value
Type:
StringIf the specified capability is parameterless, the return value is
Empty. If the capability has parameters, the return value
is a string which contains the parameters list as returned by the server.
If the server does not support CAPA command (see
GetExtensions for
more information) or the given capability is not supported, the return value is a
null reference (
Nothing in Visual Basic).
Exceptions Remarks This method can be used to retrieve additional information about the given
capability. However, if you wish to get the list of SASL authentication methods
supported by the server, you may also use
GetSupportedAuthMethods method
for this.
GetSupportedAuthMethods method can succeed even if the server does
not support CAPA command but supports AUTH command (which is often the case).
Note |
---|
This method may issue a network operation if the list of supported extensions has not yet been downloaded from the POP3 server.
To make sure you have the local copy of the list, call GetExtensions first (or its async version). |
See Also