Outlook Rule - Very difficult, big challenge, probly nobody can do

S

Sysprep G

Hello
The platform is Office 2003 Professional. The goal is to have a rule that
runs on the workstation only during specified hours. Specifically, they want
a rule that will print out emails (and any attachments) at the machine's
default printer from a specified sender whenever the user is not there... IE:
5:00pm - 8:00am during the week, and all weekend.

I am looking at a shortcut to an Outlook command line open being hit by a
scheduled task and forcing it to utilize a non-default profile which simply
prints everything from the specified sender. This has proven difficult. If
anyone has an easier route to go, please advise. The rules themselves only
support a specified date range rather than a regular schedule defined by
hours.

Thanks

G
 
E

Eric Legault [MVP - Outlook]

Automating Outlook from any method that is instantiated via the Task
Scheduler is generally not recommended:

The Outlook Object Model is unsuitable to run in a Windows service:
http://support.microsoft.com/default.aspx?scid=kb;en-us;237913

If you still want to proceed, you'll need to use CDO instead to logon using
a temporary profile:

How to log on to Exchange with the ProfileInfo parameter:
http://support.microsoft.com/default.aspx?scid=kb;en-us;195662

BTW, any kind of Outlook automation that needs to do something in an
unattended fashion - usually 24/7 or during times when the user is not at the
computer and Outlook cannot be expected to be running - is best suited to be
implemented as an Exchange Event Sink. Here's a good overview of what they
can do:

Fawcette.com - Power Up Your Apps With Event Sinks:
http://www.ftponline.com/wss/2002_07/online/exchange_pcardoza_07_22_02/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Unreliable Outlook Rules 2

Top