I'm often asked how to filter email from certain domains when at least part of the domain name changes. Outlook doesn't support wildcards in rules, so you can't filter newsletters that come from @s1.domain.com, @s2.domain.com etc, or filter spam from .info, .work or Top-level-domain. This sample macro to use with a run a script rule
How to identify or "do something" with a message that was auto forwarded. While the info bar in the message identified it as auto forwarded, it' only visible when the message is selected.
These code samples show you how to use a run a script rule to send an auto response, including the received date and when the recipient should expect a follow up response. The first sample uses a template for the reply, the second macro replies to the incoming message.
How to use a macro to create Outlook folders from a list of folder names in a csv file.
A user wanted to set Outlook to offline/online mode automatically depending on network connection, using either PowerShell or VBScript. The VBA script at VBA to switch Outlook online/offline doesn't meet the user's need because it is not controlled externally. While Outlook doesn't have a timer, Task or Meeting reminders can trigger a macro. The VBScript
The VBScripts on this page will export or import a list of your categories for backup and importing into your Outlook desktop mailbox.
The scenario: You have several email accounts, each with their own data file and you want to empty the deleted items in every data file with one click. The solution: a macro.
This macro uses Adobe Acrobat, not Reader or other PDF applications. This run a script macro will open an attached PDF file, look for a keyword and if found, forward the attachment. If the message you are forwarding contains external content, you may need to respond to a security dialog. In this case, you will
A VBA code sample to save one or more selected messages to your My Documents folder as .msg files, using the received date and time as the filename.
How to quickly apply a business card layout to all Outlook contacts so they all use one layout.
A user wanted to add domains to the Safe Senders list in Outlook, but the 'not junk' options added addresses, not domains. Sub WriteToJunkList() Dim objApp As Outlook.Application Dim ns As Outlook.NameSpace Dim objMail As MailItem Dim strDomain As String Dim strAddress As String Set objApp = Application Set objMail = objApp.ActiveExplorer.Selection.Item(1) strDomain = Right(objMail.SenderEmailAddress,
A user wanted to always reply to messages sent to one account using another account. He also wanted to remove his address from the recipient list.
How to use Redemption to change the sender's name field on messages.
Use a run a script rule or an ItemAdd macro to look for messages with attachments. When the attachment is a specific file type, do something with the message.
Use VBA to open an Outlook meeting request that was just added to the calendar after accepting the request in the Inbox. so you can set a reminder or make notes.