A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

outlook & VB spam filter



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 14th 06, 11:43 AM posted to microsoft.public.outlook.program_vba
Mike Dickerson
external usenet poster
 
Posts: 1
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 ***
Ads
  #2  
Old March 14th 06, 03:38 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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" wrote in message
...
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 ***


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inbox, Sent Items & Outbox in Deleted Items in Outlook 2003 & OWA with Exchange splounx Outlook - General Queries 1 February 17th 06 02:22 AM
Outlook sending spam on it's own Vic Spainhower Outlook - General Queries 1 February 10th 06 09:37 PM
Can't Drag & Drop between outlook 2003 & sharepoint calendar Rainman Outlook - Calandaring 0 February 1st 06 03:00 PM
Spam Filter? Deekus Outlook Express 1 January 30th 06 02:43 AM
Spam integration Jeffrey Outlook Express 1 January 26th 06 08:42 PM


All times are GMT +1. The time now is 02:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.