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

set forward mail to other email address before outlook close

0 views
Skip to first unread message

bobocat

unread,
Jul 25, 2006, 5:01:52 AM7/25/06
to
Hi,

Can I use VBA to fulfil the following task?

I use outlook to read the corporate email from the exchange server.

Before I close Microsoft outlook, all the corporate email will
forward/redirect to the other email automatically.

Then, the forwarding will be cancel automatically when the outlook open
again.

Thank you.

Bobocat


Sue Mosher [MVP-Outlook]

unread,
Jul 25, 2006, 8:19:21 AM7/25/06
to
To do that, you'd have to create a server-side forwarding rule. Outlook 2007 is the first version with full programmatic access to rules. In earlier versions, it's theoretically possible with a separate Rule.dll component and CDO 1.21 -- see http://www.outlookcode.com/archive0/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

"bobocat" <bobo....@gmail.com> wrote in message news:OneA6j8r...@TK2MSFTNGP05.phx.gbl...

Bobocat

unread,
Jul 25, 2006, 11:22:21 AM7/25/06
to
thank you. Let me study it first

"Sue Mosher [MVP-Outlook]" <sue...@outlookcode.com> wrote in message
news:O77FX4%23rGH...@TK2MSFTNGP05.phx.gbl...

Bobocat

unread,
Jul 25, 2006, 12:35:30 PM7/25/06
to
How about...If I have already set the out-of-office assistance to forward
the email to another email address; can I auto-change to out of office when
my outlook is shut down?

"Sue Mosher [MVP-Outlook]" <sue...@outlookcode.com> wrote in message
news:O77FX4%23rGH...@TK2MSFTNGP05.phx.gbl...

Sue Mosher [MVP-Outlook]

unread,
Jul 25, 2006, 12:44:02 PM7/25/06
to
Only by using CDO 1.21; there should be code at http://www.cdolive.com/cdo5.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

"Bobocat" <bobo....@gmail.com> wrote in message news:%23qXkehA...@TK2MSFTNGP04.phx.gbl...


> How about...If I have already set the out-of-office assistance to forward
> the email to another email address; can I auto-change to out of office when
> my outlook is shut down?
>
> "Sue Mosher [MVP-Outlook]" <sue...@outlookcode.com> wrote in message
> news:O77FX4%23rGH...@TK2MSFTNGP05.phx.gbl...
> To do that, you'd have to create a server-side forwarding rule. Outlook 2007
> is the first version with full programmatic access to rules. In earlier
> versions, it's theoretically possible with a separate Rule.dll component and
> CDO 1.21 -- see http://www.outlookcode.com/archive0/d/exstech.htm
>

0 new messages