In this week's version of a run a script rule, a simple script marks messages read when the message begins with certain words, in this case the words are "Thank you".
In order for the rule to work with thank you, Thank You, Thank you, or even THank you, you need to use LCASE. This converts the string to lower case before trying to match it.
LCase(Item.Body)
Sub MarkRead(Item As Outlook.MailItem) If Left(LCase(Item.Body), 9) = "thank you" Then Item.UnRead = False Item.Save End If End Sub
More Information
More Run a Script Samples:
- Outlook's Rules and Alerts: Run a Script
- Autoaccept a Meeting Request using Rules
- Automatically Add a Category to Accepted Meetings
- Blocking Mail From New Top-Level Domains
- Convert RTF Messages to Plain Text Format
- Create a rule to delete mail after a number of days
- Create a Task from an Email using a Rule
- Create an Outlook Appointment from a Message
- Create Appointment From Email Automatically
- Delegates, Meeting Requests, and Rules
- Delete attachments from messages
- Forward meeting details to another address
- How to Change the Font used for Outlook's RSS Feeds
- How to Process Mail After Business Hours
- Keep Canceled Meetings on Outlook's Calendar
- Macro to Print Outlook email attachments as they arrive
- Move messages CC'd to an address
- Open All Hyperlinks in an Outlook Email Message
- Outlook AutoReplies: One Script, Many Responses
- Process messages received on a day of the week
- Read Outlook Messages using Plain Text
- Receive a Reminder When a Message Doesn't Arrive?
- Run a script rule: Autoreply using a template
- Run a Script Rule: Change Subject then Forward Message
- Run a script rule: Reply to a message
- Run a Script Rule: Send a New Message when a Message Arrives
- Run Rules Now using a Macro
- Run-a-Script Rules Missing in Outlook
- Save all incoming messages to the hard drive
- Save and Rename Outlook Email Attachments
- Save Attachments to the Hard Drive
- Save Outlook Email as a PDF
- Sort messages by Sender domain
- Talking Reminders
- To create a rule with wildcards
I would like a server side rule so that I receive all emails marked as 'read'. I am able to create an Outlook rule, but it is only Client side. I am on MS Exchange.
Thanks in advance.
The server doesn't support that (and you can't use macros on the server side) but if you forward all mail to another address, it will be marked as read.