Solved

MS Outlook Rule to move messages and mark them as read

Posted on 2003-11-26
7
935 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
  • 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
How to convert ANSI PST to UNICODE PST? 3 43
Outlook 2013 License Question 8 35
exchange, calendar 7 21
Legit email goes into JUNK. 3 39
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Read this checklist to learn more about the 15 things you should never include in an email signature.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 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