Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / August 2003

Tip: Looking for answers? Try searching our database.

Event on incoming mails

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ansgar Becker - 27 Aug 2003 14:48 GMT
Hello

I want to code a small Outlook-VBA macro to move incoming mails to a
subfolder. In addition only those mails with a defined adress in the
"To:"-field should be moved.
1. How do I generally react on the event of incoming mails ?
2. How do I determine the mail-items which are recently received ?

I have the anti-spam filter from Cloudmark installed and I always see
this macro reacting on some "incoming mails"-event.

Greetings,
Ansgar
Sue Mosher [MVP] - 29 Aug 2003 02:55 GMT
See http://www.slipstick.com/dev/code/zaphtml.htm and http://www.slipstick.com/dev/code/quarexe.htm for some examples that use the MAPIFolder.Items.ItemAdd event or, in Outlook 2002, a Rules Wizard rule.
Signature

Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
    Microsoft Outlook Programming: Jumpstart
    for Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx 

> Hello
>
[quoted text clipped - 9 lines]
> Greetings,
> Ansgar
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.