Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Outlook 2003 Rules

1 view
Skip to first unread message

Raphael Boos

unread,
Jun 23, 2009, 8:07:01 AM6/23/09
to

Hi! I've got a question:

How can I create an absence rule respectively the forwarding of an absence
in outlook 2003?

I've got already objMAPISession.OutOfOffice and .Text (works fine), but how
can I set up the forwarding of an absence? Is there a function for the rules?

System:
Windows XP & Outlook 2003
Visual Studio 2008 Express Edition

Best regards
Raphael Boos

Ken Slovak - [MVP - Outlook]

unread,
Jun 23, 2009, 8:40:41 AM6/23/09
to

I'm not sure what you mean by forwarding an absence, but the rules aren't
exposed for programming unless you are using Outlook 2007, which introduces
a Rules collection and associated object model.

There's an old dll that uses CDO that can produce some types of server side
rules for Exchange users, but that's really obsolete. Other than that you'd
have to handle an event such as NewMailEx() that provides a list of incoming
messages and write code from scratch to do whatever logic you want done.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Raphael Boos" <Rapha...@discussions.microsoft.com> wrote in message
news:B0CA7D57-E55F-44B4...@microsoft.com...

Ken Slovak - [MVP - Outlook]

unread,
Jun 23, 2009, 9:00:41 AM6/23/09
to

I just told you that there is no way to program a rule like you want, you'd
have to do it entirely in code logic. Switch to Outlook 2007 and then you
can do it.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Raphael Boos" <Rapha...@discussions.microsoft.com> wrote in message

news:38FB7346-B2F8-4DC2...@microsoft.com...
> Hi Ken


>
>> I'm not sure what you mean by forwarding an absence, but the rules aren't
>> exposed for programming unless you are using Outlook 2007, which
>> introduces
>> a Rules collection and associated object model.
>

> When I'm out of office and I'd like to forwarding my mail automaticly to
> my
> assistant, so I can create a new rule, where I can set the mail address of
> my
> assistant and then outlook automaticly forwarding the incoming mails to my
> assistant.


>
>> There's an old dll that uses CDO that can produce some types of server
>> side
>> rules for Exchange users, but that's really obsolete. Other than that
>> you'd
>> have to handle an event such as NewMailEx() that provides a list of
>> incoming
>> messages and write code from scratch to do whatever logic you want done.
>

> I'll know how I can programming the rules. Is there a way to do this or
> not?
> If yes, could you give me a code snippet or something, where I can see,
> how
> to access the rules or how to make a new (absence-)rule?
>
> Regards, Raphael

Raphael Boos

unread,
Jun 23, 2009, 8:57:02 AM6/23/09
to

Hi Ken

> I'm not sure what you mean by forwarding an absence, but the rules aren't
> exposed for programming unless you are using Outlook 2007, which introduces
> a Rules collection and associated object model.

When I'm out of office and I'd like to forwarding my mail automaticly to my

assistant, so I can create a new rule, where I can set the mail address of my
assistant and then outlook automaticly forwarding the incoming mails to my
assistant.

> There's an old dll that uses CDO that can produce some types of server side

> rules for Exchange users, but that's really obsolete. Other than that you'd
> have to handle an event such as NewMailEx() that provides a list of incoming
> messages and write code from scratch to do whatever logic you want done.

I'll know how I can programming the rules. Is there a way to do this or not?

Raphael Boos

unread,
Jun 23, 2009, 9:29:02 AM6/23/09
to

> I just told you that there is no way to program a rule like you want, you'd
> have to do it entirely in code logic. Switch to Outlook 2007 and then you
> can do it.

Ok thank you very much.

Best regards
Raphael

0 new messages