Solved

MS Outlook Rule to move messages and mark them as read

Posted on 2003-11-26
7
937 Views
Last Modified: 2010-04-08
I want to move certain messages from my inbox to my deleted messages folder and mark them as read. It will move the messages but won't mark them as read.

Any Ideas ?

Thanks
Paul
0
Comment
Question by:trower
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 9824101
Dear trower,

Check this

http://www.slipstick.com/addins/gallery/index.htm#markread


Thanks,
Sunray
0
 
LVL 49

Assisted Solution

by:sunray_2003
sunray_2003 earned 250 total points
ID: 9824136
0
 

Author Comment

by:trower
ID: 9825568
Thanks for that. From what I found I have cobbled together a Script (below). I have this on a button at the moment, is there a way to make this into a Rule or something else that runs automatically ?

Thanks
Paul

Sub readanddelete()
Set myNameSpace = Application.GetNamespace("MAPI")
Set myFolder = myNameSpace.GetDefaultFolder(olFolderInbox)
Set myItems = myFolder.Items
Set myFolder1 = myNameSpace.GetDefaultFolder(olFolderDeletedItems)
Set myItems = myFolder.Items
For Each myMail In myItems
If InStr(1, myMail.Subject, "SPAM:") > 0 Then
        If myMail.UnRead = True Then
        myMail.UnRead = False
        End If
    myMail.Move myFolder1
ElseIf InStr(1, myMail.Subject, "WARNING.") > 0 Then
        If myMail.UnRead = True Then
        myMail.UnRead = False
        End If
    myMail.Move myFolder1
End If
Next
End Sub
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 15

Expert Comment

by:will_scarlet7
ID: 9832175
How did you setup your rule? I just made a rule like so:

1.) Start from a blank rule
              Select = Check messages when they arrive.
2.) Which condition(s) do you want to check
              Select = With specific words in the subject
3.) What do you want to do with the message(s)
              Select = Mark as read
              Select = Move it to the specified folder


That worked for me both with the moving and marking as read.
0
 

Author Comment

by:trower
ID: 9836040
Will Scarlet7

That is exactly what I did !! Are you using version 2002 ? Are you moving them to the deleted folder ?

In the Rules Wizard there is an option to run a script - does anyone know where you have to store those scripts and what they need to be written in ?

Cheers
Paul
0
 
LVL 15

Expert Comment

by:will_scarlet7
ID: 9836276
Hi Paul,

I am using version 2002 with a PST. Are you using an Exchange server os a pst file?

you could check out this utility:

http://www.realpopup.it/realaccount/rahowitworks.html

It has a function to set all email in a specific folder as read. Not sure if you want all the email in your deleted items folder ars read of if there are some that should be left as un-read, but it is supposed to be able to set it per folder.

Hope it is a help!

will_scarlet7
0
 
LVL 15

Accepted Solution

by:
will_scarlet7 earned 250 total points
ID: 9836286
Sorry that should read "Exchange server or a pst file"
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Read this checklist to learn more about the 15 things you should never include in an email signature.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question