A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Create rule by script



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 12th 06, 06:07 PM posted to microsoft.public.outlook.program_vba
Louis
external usenet poster
 
Posts: 7
Default Create rule by script

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
  #2  
Old March 14th 06, 07:18 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Create rule by script

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.

--
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/


"Louis" wrote:

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

  #3  
Old March 15th 06, 11:10 AM posted to microsoft.public.outlook.program_vba
Louis
external usenet poster
 
Posts: 7
Default Create rule by script

Thanks,

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

Louis


"Eric Legault [MVP - Outlook]" wrote:

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.

--
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/


"Louis" wrote:

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

  #4  
Old March 15th 06, 04:49 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Create rule by script

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/


"Louis" wrote:

Thanks,

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

Louis


"Eric Legault [MVP - Outlook]" wrote:

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.

--
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/


"Louis" wrote:

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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
script to create local pst, change profile [email protected] Outlook - General Queries 0 March 8th 06 03:37 PM
script to create local pst, change profile [email protected] Outlook and VBA 0 March 8th 06 03:37 PM
Create a re-running rule JDR Outlook - General Queries 2 February 15th 06 09:17 PM
Script in Rule clarkel Outlook and VBA 2 February 2nd 06 08:20 PM
Create a macro that runs from a Rule CF_business_analyst Outlook and VBA 8 January 13th 06 05:12 PM


All times are GMT +1. The time now is 05:51 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-2025 Outlook Banter.
The comments are property of their posters.