![]() |
#1
|
|||
|
|||
![]()
Hi.
I made a rule that delays ALL messages by 30 minutes. If I click the send / receive button, the mail does not come out. Is it possible to make a macro or other rule that will bypass the previous rule after pressing the icon on the ribbon? Or a macro that will "force" an email to be sent. |
#2
|
|||
|
|||
![]()
Try modifying the existing rule so that the rule has an exception. The rule doesn't apply when messages have certain words in the message body or subject, they are marked with a certain importance level, and other possibilities.
For example, the rule will be ignored if "***" appears on the Subject Line, the message is assigned "High" Importance, etc. |
#3
|
||||
|
||||
![]()
The problem is that your rule will run after any macro you send. It would be better if you scrapped the rule and used a macro to apply the delay, Using Outlook's ItemSend you can prompt for the delay. Put the following code in the ThisOutlookSession module.
Code:
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) If TypeName(Item) = "MailItem" Then If MsgBox("Defer message?", vbExclamation + vbYesNo) = vbYes Then Item.DeferredDeliveryTime = DateAdd("n", 30, Now()) Else Item.DeferredDeliveryTime = DateAdd("n", -30, Now()) End If End If End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Forcing a section to skip numbering | Wild Bee | Word | 4 | 02-11-2021 02:32 AM |
Help please..My delayed email is no where to be found | Mrs. Lewis | Outlook | 0 | 04-03-2019 12:54 PM |
WHY are my outgoing email messages being delayed? | sue1201 | Outlook | 0 | 05-18-2018 10:05 AM |
![]() |
Quadrillion | Word | 1 | 09-04-2011 06:13 AM |
Forcing Appointments in Outlook Calendar | malakingaso | Outlook | 0 | 03-01-2010 08:29 AM |