MailBee.NET Objects 4.0

Pop3.GetExtensionValue Method 

Returns the parameters of the specified POP3 capability, or an empty string if the capability has no parameters.

public string GetExtensionValue(
   string name
);

Parameters

name
The name of the capability.

Return Value

If 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).

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).

Exceptions

Exception Type Condition
MailBeeException An error occurred and ThrowExceptions is true.

See Also

Pop3 Class | MailBee.Pop3Mail Namespace