change the Default email Delivery Location


Vinod Lewis


I am looking out for a code / script which will change the default email
delivery location from PST to Exchange mail box.

There are 100 users and i need to automate the process.

I have tried using the .prf file using the OCT, but it creates a new profile
with the default email delivery being the Exchange mail box. By doing this
the customization is lost ie: signatures and categories.

IMP: It should modify the exsisting outlook profiles default email delivery

Any help is really appreciated.

Sue Mosher [MVP]

The Outlook object model doesn't have any way to do that. You'd have to look
into third-party tools/libraries.

I would suggest that you post the first few sections of your prf file in the
Outlook Install and Configure newsgroup
(microsoft.public.outlook.installation). My hunch is that it's not correctly
set up to modify the existing profile, rather than create a new one. Also
include information on the Outlook version and whether the profiles are
already set up with Exchange or whether Exhange needs to be added.

Vinod Lewis

Thank you very much for your reply.
Outlook 2007
Yes the profiles are already setup in Exchange.

Dmitry Streblechenko

On the MAPI level (C++/Delphi), you can do that by calling
Redemption exposes that functionality through teh RDOStore.Default
property -
If you need to change where messages form a particualr POP3 account are
delivered, you can use RDOAccount.DeliverToFolder property -

Dmitry Streblechenko (MVP)
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question