PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming outlook & VB spam filter

Reply

outlook & VB spam filter

 
Thread Tools Rate Thread
Old 14-03-2006, 11:43 AM   #1
Mike Dickerson
Guest
 
Posts: n/a
Default outlook & VB spam filter


I wanna free spam filter, so i'm trying to write it. I'm having a
problem finding the current incoming mailitem.

Found some code that return the ActiveExplorer item, which seems to be
whatever is open in the preview pane, I want the current incoming item.

Any suggestions from one of you pro's out there?



*** Sent via Developersdex http://www.developersdex.com ***
  Reply With Quote
Old 14-03-2006, 03:38 PM   #2
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: outlook & VB spam filter

Use the ItemAdd event of the Items collection of the Inbox, that gives you
each new message as it comes in unless 16 or more at a time come in.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Mike Dickerson" <md@mcd2.org> wrote in message
news:%23%23aDQy1RGHA.5656@TK2MSFTNGP11.phx.gbl...
>I wanna free spam filter, so i'm trying to write it. I'm having a
> problem finding the current incoming mailitem.
>
> Found some code that return the ActiveExplorer item, which seems to be
> whatever is open in the preview pane, I want the current incoming item.
>
> Any suggestions from one of you pro's out there?
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off