Outlook Automation

S

sparky_griswald

I want to create a rule or VBA code that permanently deletes all emails in
all folders from a certain sender/recipient when I click a button. Rules
appear to take action when a message is received and not after I read the
email.

Is this possible?

For example if sender equals (e-mail address removed) or recipient equals (e-mail address removed)
then permanently delete.

I am running IMAP through MS Outlook 2007.
 
D

Diane Poremsky [MVP]

Outlook doesn't support this using rules. You'd need to use VBA or use Run
Rules Now.

--
Diane Poremsky [MVP - Outlook]
Need Help with Common Tasks? http://www.outlook-tips.net/beginner/
Outlook 2007: http://www.slipstick.com/outlook/ol2007/

Outlook Tips by email:
(e-mail address removed)

Exchange Messaging Outlook newsletter:
(e-mail address removed)




You can access this newsgroup by visiting
http://www.microsoft.com/office/community/en-us/default.mspx or point your
newsreader to msnews.microsoft.com.
 

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