How can I use Outlook spammer list by C# ?

  • Thread starter Thread starter Lee Seung Hoo
  • Start date Start date
L

Lee Seung Hoo

hi~

I want to make spam filter program
(yeah.. maybe you need it too :) )

my plan is

1. I will select all spam mail in my Outlook2003 mail box
(Outlook doesn't support multi selection to Junk mail adding func
only 1 mail can be selected for Junk mail..)

2. will extract sender's address (spammer list)

3. and will add to Outlook's Junk mail - deny list

at VS.NET 2003,C#

I added Microsoft Outlook 11.0 object library to reference (COM)

but I can't find class,method(property) about Junk mail (deny list)

plz give me some hint :)
 
Hi,

This is probably offtopic here, but still - your idea won't work well in the
first place. Modern spammers usually generate the contents of the "From:"
header dynamically, so chances that a particular address will occur for the
second time are rather slim. If you really want to create a helpful
anti-SPAM utility, I'd suggest analyzing the headers of the message and
extracting the sender's IP address (the only piece of information in SMTP
headers that is impossible or at least very hard to be forged). This will
most likely be an Outlook add-in that would analyze incoming messages and
delete ones whose originating IP is in the local black list or in the public
black lists such as SpamCop's.

Unfortunately, I have very little experience with the Outlook object model
so I won't be at great help here.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

hi~

I want to make spam filter program
(yeah.. maybe you need it too :) )

my plan is

1. I will select all spam mail in my Outlook2003 mail box
(Outlook doesn't support multi selection to Junk mail adding func
only 1 mail can be selected for Junk mail..)

2. will extract sender's address (spammer list)

3. and will add to Outlook's Junk mail - deny list

at VS.NET 2003,C#

I added Microsoft Outlook 11.0 object library to reference (COM)

but I can't find class,method(property) about Junk mail (deny list)

plz give me some hint :)
 
Back
Top