Solved

Can I schedule a daily time frame to forward certain messages

Posted on 2008-10-10
4
167 Views
Last Modified: 2012-05-05
I have a rule that forwards messages to a phone text message email address. I would like a rule in Outlook that checks the time before sending the message. I'm only wanting the rule to be in effect during waking hours. I don't care if the message gets forwarded I just need to know to look at my email because an event that matches the rule has happened.

I'm thinking there has to be a way to script it so that when the rule matches the a script is called and it sends a message if it is within the time frame.

Is it possible and how?
0
Comment
Question by:ITdd
  • 2
4 Comments
 
LVL 15

Expert Comment

by:WilyGuy
ID: 22690042
Sure.
Set up a Rule for "After I send a Message"
Add selection for sending to THIS email address (whatever that is)
Then for Actions - DEFER DELIVERY for X MINUTES. (although it only defers for 120 minutes)
Probably could use a "Custom Action" but that is going to require more coding.
0
 

Author Comment

by:ITdd
ID: 22690096
Thanks, Maybe I wasn't clear,
I'm trying to set a notification process for myself. If I get an email with a certain subject I need to be notified ASAP if it is between 6a.m. and 10p.m. I don't want to be woken when I'm not responsible for it.
I'm looking for the script that would do this
0
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 23257794
Hi, ITdd.

I can help with this.  There are two issues you need to know about beforehand though.  First, Outlook will have to be left running for the script to work.  Second, sending a message from a script is going to trigger Outlook's built-in security.  When that happens a dialog-box is going to pop up warning that an application is accessing your mailbox and asking for your permission to allow it to continue.  That pretty much kills an automatic process.  There is no wa to turn Outlooks ecurity off, but there are ways to work around it.  Here are those ways.

1.  Sign the code.  Here's a link to instructions on doing that: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_dsvba.asp
2.  Use ClickYes (http://www.contextmagic.com/express-clickyes/), a small utility that'll click the Yes button for you.  It creates a security hole though, since a virus could start sending messages and ClickYes would click the Yes button for it too.  
3.  Use Redemption (http://www.dimastr.com), a COM library that enables code to safely bypass Outlook security.

If you're still interested, then I'll provide the script and instructions on how to use it.
0
 

Author Closing Comment

by:ITdd
ID: 31505138
I ultimately solved my problem via software on my phone. What Bluedevilfan proposes looks like it would work when completed but I don't need it to be completed anymore. Maybe someone else will
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
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…

776 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