A Microsoft Office (Excel, Word) forum. OfficeFrustration

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 » OfficeFrustration forum » Microsoft Outlook » Installation & Setup
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Batch or API way of setting mail rules?



 
 
Thread Tools Display Modes
  #1  
Old September 13th, 2005, 10:45 PM
2G
external usenet poster
 
Posts: n/a
Default Batch or API way of setting mail rules?

I need to create/manage a large number of mail rules. The GUI is cumbersome
and very time-consuming, at best. Is there a simple batch command line, or
API way to manage mail rules? Any examples?

Thx

2G
  #2  
Old September 13th, 2005, 10:57 PM
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: n/a
Default Batch or API way of setting mail rules?

Not really. There is a Rule.dll COM component, but it has some significant limitations. See http://www.outlookcode.com/d/exstech.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"2G" wrote in message ...
I need to create/manage a large number of mail rules. The GUI is cumbersome
and very time-consuming, at best. Is there a simple batch command line, or
API way to manage mail rules? Any examples?

Thx

2G

  #3  
Old September 13th, 2005, 11:37 PM
2G
external usenet poster
 
Posts: n/a
Default Batch or API way of setting mail rules?

Thanks. I see the Rule.dll. But I don't really see any discussion about
limitations. All I want to do is route mail to folders based on strings in
the from addr. Pretty
basic. Where are the limitations explained?

Also, I'm an experienced programmer. But I don't have alot of experience
with Microsoft specific (VB, etc.). If I wanted to compile and run that
sample on the Rule.dll page, do I need to purchase a compiler and/or runtime
environment? In other words, briefly, what is the dev process for making
this work?

Thanks.

2G

"Sue Mosher [MVP-Outlook]" wrote:

Not really. There is a Rule.dll COM component, but it has some significant limitations. See http://www.outlookcode.com/d/exstech.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"2G" wrote in message ...
I need to create/manage a large number of mail rules. The GUI is cumbersome
and very time-consuming, at best. Is there a simple batch command line, or
API way to manage mail rules? Any examples?

Thx

2G


  #4  
Old September 14th, 2005, 12:29 AM
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: n/a
Default Batch or API way of setting mail rules?

If you tried it, you'd find that you can't set any client-side rule actions or conditions and that the rules it creates don't appear in the Rules Wizard, leading to potential support problems as users inquire why messages are moving mysteriously.

The dev process would be to download a compiled version of Rule.dll (or compile your own from the C++ source) and then write a script using the Rule.dll component and CDO 1.21 (an optional Outlook component). A quick Google search should turn up more information about this old component.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"2G" wrote in message ...
Thanks. I see the Rule.dll. But I don't really see any discussion about
limitations. All I want to do is route mail to folders based on strings in
the from addr. Pretty
basic. Where are the limitations explained?

Also, I'm an experienced programmer. But I don't have alot of experience
with Microsoft specific (VB, etc.). If I wanted to compile and run that
sample on the Rule.dll page, do I need to purchase a compiler and/or runtime
environment? In other words, briefly, what is the dev process for making
this work?

Thanks.

2G

"Sue Mosher [MVP-Outlook]" wrote:

Not really. There is a Rule.dll COM component, but it has some significant limitations. See http://www.outlookcode.com/d/exstech.htm



"2G" wrote in message ...
I need to create/manage a large number of mail rules. The GUI is cumbersome
and very time-consuming, at best. Is there a simple batch command line, or
API way to manage mail rules? Any examples?

Thx

2G


  #5  
Old September 14th, 2005, 04:52 PM
2G
external usenet poster
 
Posts: n/a
Default Batch or API way of setting mail rules?

Well, yuck... Thanks for the info. One last thing just out of curiosity...
am I the first person that thinks this is a serious omission from a
professional-level product? Or is it hot on the radar and a continual source
of complaint? Any projections if/when there might be support for batch rules?

Thanks again.

2G


"Sue Mosher [MVP-Outlook]" wrote:

If you tried it, you'd find that you can't set any client-side rule actions or conditions and that the rules it creates don't appear in the Rules Wizard, leading to potential support problems as users inquire why messages are moving mysteriously.

The dev process would be to download a compiled version of Rule.dll (or compile your own from the C++ source) and then write a script using the Rule.dll component and CDO 1.21 (an optional Outlook component). A quick Google search should turn up more information about this old component.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"2G" wrote in message ...
Thanks. I see the Rule.dll. But I don't really see any discussion about
limitations. All I want to do is route mail to folders based on strings in
the from addr. Pretty
basic. Where are the limitations explained?

Also, I'm an experienced programmer. But I don't have alot of experience
with Microsoft specific (VB, etc.). If I wanted to compile and run that
sample on the Rule.dll page, do I need to purchase a compiler and/or runtime
environment? In other words, briefly, what is the dev process for making
this work?

Thanks.

2G

"Sue Mosher [MVP-Outlook]" wrote:

Not really. There is a Rule.dll COM component, but it has some significant limitations. See http://www.outlookcode.com/d/exstech.htm



"2G" wrote in message ...
I need to create/manage a large number of mail rules. The GUI is cumbersome
and very time-consuming, at best. Is there a simple batch command line, or
API way to manage mail rules? Any examples?

Thx

2G


 




Thread Tools
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
outlook should allow option to apply rules BEFORE junk mail filter JElliottNYC General Discussion 0 July 4th, 2005 01:26 AM
Send email via yahoo account Ray Outlook Express 10 June 8th, 2005 12:00 AM
mail merge batch file Josh Mailmerge 2 April 29th, 2005 08:00 PM
Mail box rules with 2 mail boxes question!! WC General Discussion 1 August 10th, 2004 07:48 PM
Mail Copy - Roady Anver General Discussion 4 July 15th, 2004 10:35 AM


All times are GMT +1. The time now is 05:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.