Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Message Rule (http://www.outlookbanter.com/outlook-vba/12896-message-rule.html)

Wes H. April 26th 06 08:08 PM

Message Rule
 
I was wondering if it would be possible to create a rule in outlook that
upon receiving a message from a certain person the server would wait x
number of minutes and then do a server reply to the individual.

I can set up the rule in rules wizard to do everything that I am wanting
with the exception of the delayed send time. Is there a way to write
this into a vba script and then attach that to the rule? If so then how
would I write that up and attach it. The 'x' number of minutes, I am
hoping could be anything randomly selected between 20 minutes and 2
hours, but if I can only specify a select time delay then I can always
go and change it regularly.

Thanks for any help.

Wes H

Eric Legault [MVP - Outlook] April 26th 06 10:54 PM

Message Rule
 
There's no easy way to do this in the client, that's for sure. This is
screaming out for a server side process, which is best done by an Exchange
Event Sink.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Wes H." wrote:

I was wondering if it would be possible to create a rule in outlook that
upon receiving a message from a certain person the server would wait x
number of minutes and then do a server reply to the individual.

I can set up the rule in rules wizard to do everything that I am wanting
with the exception of the delayed send time. Is there a way to write
this into a vba script and then attach that to the rule? If so then how
would I write that up and attach it. The 'x' number of minutes, I am
hoping could be anything randomly selected between 20 minutes and 2
hours, but if I can only specify a select time delay then I can always
go and change it regularly.

Thanks for any help.

Wes H


Wes H. April 27th 06 03:46 AM

Message Rule
 
Eric Legault [MVP - Outlook] wrote:
There's no easy way to do this in the client, that's for sure. This is
screaming out for a server side process, which is best done by an Exchange
Event Sink.

Hey Eric, thanks for the response. I have no way of doing it on the
server side, so that's out. But it is capable to do it on the client side?

Eric Legault [MVP - Outlook] April 27th 06 04:22 AM

Message Rule
 
Well, yeah, it is possible on the client side but could be tricky. If you
have your rule run a script, then that script could start a timer. I suggest
a timer class like this one:

vbAccelerator - SSubTimer - ASM Thunk Version:
http://www.vbaccelerator.com/home/vb...on/article.asp

Good luck managing this timer over extended periods of time, especially with
Outlook restarts/hangs. An alternative may be to hook your logic into
reminders from Tasks.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Wes H." wrote:

Eric Legault [MVP - Outlook] wrote:
There's no easy way to do this in the client, that's for sure. This is
screaming out for a server side process, which is best done by an Exchange
Event Sink.

Hey Eric, thanks for the response. I have no way of doing it on the
server side, so that's out. But it is capable to do it on the client side?



All times are GMT +1. The time now is 11:17 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com