change the Default email Delivery Location

  • Thread starter Vinod Lewis
  • Start date Views 3,106
Status
Not open for further replies.
V

Vinod Lewis

Hi,

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

location

===================================================

Any help is really appreciated.
 
S

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.

Sue Mosher

"Vinod Lewis" <VinodLewis> wrote in message

news:BFC8A005-2612-40B9-8C3C-0A13EF02F3B7@microsoft.com...
> Hi,

> 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
> location
> ===================================================

> Any help is really appreciated.
 
V

Vinod Lewis

Thank you very much for your reply.

Outlook 2007

Yes the profiles are already setup in Exchange.

"Sue Mosher [MVP]" wrote:


> 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.
> > Sue Mosher
> > >

> "Vinod Lewis" <VinodLewis> wrote in message
> news:BFC8A005-2612-40B9-8C3C-0A13EF02F3B7@microsoft.com...
> > Hi,
> > 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
> > location
> > ===================================================
> > Any help is really appreciated.


>
 
D

Dmitry Streblechenko

On the MAPI level (C++/Delphi), you can do that by calling

IMAPISession.SetDefaultStore.

Redemption exposes that functionality through teh RDOStore.Default

property - http://www.dimastr.com/redemption/rdo/rdostore.htm

If you need to change where messages form a particualr POP3 account are

delivered, you can use RDOAccount.DeliverToFolder property -

http://www.dimastr.com/redemption/rdo/rdoaccount.htm#RDOPOP3Account

Dmitry Streblechenko (MVP)

-

"Vinod Lewis" <VinodLewis> wrote in message

news:BFC8A005-2612-40B9-8C3C-0A13EF02F3B7@microsoft.com...
> Hi,

> 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
> location
> ===================================================

> Any help is really appreciated.
 
Status
Not open for further replies.
Top