Is there a specific header line to define Spam?

G

Genta

I am making an add-on for microsoft outlook that helps block spam,
basically i am having spam email forwarded into my pop account which
is using outlook, i was wondering if there is any Header line that MS
Outlook looks for to move the forwarded emails with say "X-Spam" into
a designated spam folder.

Does microsoft outlook have this type of header already built into it?
 
K

Ken Slovak - [MVP - Outlook]

No it doesn't and Outlook won't use any custom X-headers you add. You would
have to do all the grunt work yourself, checking for that header among the
Internet headers.

The Internet headers aren't available to the Outlook object model. You'd
have to use CDO 1.21 or Extended MAPI or Redemption to work with them. CDO
is an optional installation for Outlook 2000 and later, there's information
on using it at www.cdolive.com/cdo5.htm and www.cdolive.com/cdo10.htm.
Extended MAPI can only be coded using C++ or Delphi. Redemption is a 3rd
party library located at www.dimastr.com/redemption.

There's an example of getting headers using Redemption on the Redemption Web
site and there's a CDO 1.21 example at
http://www.slovaktech.com/code_samples.htm#InternetHeaders
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top