Create folders and rule with Script or execute file ??

J

Johan

Hi.

We need create a folder structure on each mailbox and additional rule, so
some email have to move to those folders. So it's possible create a macro or
similar, that the user just have to click on the execute file or macro and
automatically it create the structure and the rule ????

Many thanks
 
S

Sue Mosher [MVP-Outlook]

What kind of rule? There is a Rule.dll COM component (see
http://www.outlookcode.com/d/exstech.htm ) but it can create only very
simple server-side rules -- and they won't be visible in the Rules Wizard.

To create the folders, you'd use the MAPIFolder.Folders.Add method.
 
J

Johan

It's for redirect some kind of emails to specify folders. the component that
you mention, help me with this issue ?

Many thanks.
 
S

Sue Mosher [MVP-Outlook]

But what kind of messages? Details matter.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
J

Johan

Email with a subject specify : consecutive-001...for example.

The body message it doesn't matter.
All the received email with this subject, should be redirect to specify
folders.
 
S

Sue Mosher [MVP-Outlook]

In that case, you should be able to use the Rule.dll component. It can
handle simple rules with a condition ot check text in the subject and an
action to move it to a folder.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Top