Page tree
Skip to end of metadata
Go to start of metadata

Register a new POP3 Filter.

Syntax

Parameters

nPriority
Type: UINT

Specifies where in the filter chain this new filter will reside

PriorityDescription
POP3_FILTER_PRIORITY_CLASS_SOURCEFor filters that need to see messages as soon as they leave the source
POP3_FILTER_PRIORITY_CLASS_NORMALFor normal filters like scanners and categorisers
POP3_FILTER_PRIORITY_CLASS_EDGEFor filters that need to see messages and data just before it goes out

The filter might not actually be inserted at this priority if a filter already exists there. In this case the next highest available priority is chosen. The return value from this function informs you of the actual priority.

strName
Type: LPCWSTR
The user visible name of the filter
strDescription
Type: LPCWSTR
The user visible description of the filter
pInterface
Pointer to a POP3FilterProviderInterface for the framework to use to interface with your filter

Return Value

Type: unsigned int
The actual priority that the filter was added.

Remarks

None

Examples

None

See Also

POP3FilterProviderInterface