Create rule by script


G

Guest

Hello,

I'm rookie and i want to create a rule under outlook to move emails with a
definite object to a specific folder under outlook.
As i have a large park of outlook client, i wish to use into the login
script of the user a script to add automatically this rule.

Is it possible ?

thanks,
Louis
 
Ad

Advertisements

G

Guest

There is a Rules.dll that Microsoft provides, but it requires CDO and has
limited usefulness. Otherwise, you cannot create client side rules with
logon scripts or any kind of script for that matter

If you are using Exchange, this kind of processing is best done by an
Exchange Event Sink that runs on the server and doesn't require any client
deployment. Another option is to code the rules using an Outlook COM Add-In
that you can deploy as an .msi package to the clients.
 
G

Guest

Thanks,

The idea of the Outlook COM Add-In seems to be very attractive,
Have you a sample of code for outlook 2003 ?

Louis
 
Ad

Advertisements

G

Guest

There's a VB6 COM Add-In template here that can be useful to kickstart your
development:

Outlook COM Add-in Template:
http://www.microeye.com/resources/template.htm

There's also a full sample of a COM Add-In here that's a great learning
resource:

Items Command Bar:
http://www.microeye.com/resources/itemsCB.htm

For more info, see:

Developing COM Add-ins for Microsoft Outlook:
http://www.outlookcode.com/d/comaddins.htm

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/
 

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

Top