Extending the Template

Topic Last Modified: 2008-04-16

The function call CSampleFilter::ContentFilter within the SampleFilter.cpp file contains example code that needs to be modified to provide your custom spam filter. This function takes the Multipurpose Internet Mail Extensions (MIME) stream for the message as an input parameter and an IMailMsg interface pointer for the message, which can be used to get and set message properties.

For more information about using MailMsg properties, see IMailMsgProperties Interface on MSDN.