PC Review


Reply
Thread Tools Rate Thread

Converting individual mailbox to a file using MAPI

 
 
duraisridhar@gmail.com
Guest
Posts: n/a
 
      18th Aug 2006
Hi All,

I am looking for a way to backup individual mail box of our Exchange
Server 2003.I want to convert my individual mail box to a file and
backup it. Can any help me with what MAPI methods i can achive
this(though MAPI is not designed for backup). Should I read each mail
of mail box and write it to a file ?.

Any help on this will be greatly apppreciated.

Regards,
Sridhar D

 
Reply With Quote
 
 
 
 
duraisridhar@gmail.com
Guest
Posts: n/a
 
      18th Aug 2006

Hi All,
After googling, I understand that exporting mailbox to .pst file can
be achieved through NameSpace functions and CopyTo method Is there any
methods equivalent to NameSpace AddStore?. I doesn't want to include
MFC in project.

Regards,
Sridhar D
(E-Mail Removed) wrote:
> Hi All,
>
> I am looking for a way to backup individual mail box of our Exchange
> Server 2003.I want to convert my individual mail box to a file and
> backup it. Can any help me with what MAPI methods i can achive
> this(though MAPI is not designed for backup). Should I read each mail
> of mail box and write it to a file ?.
>
> Any help on this will be greatly apppreciated.
>
> Regards,
> Sridhar D


 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      18th Aug 2006
First of all, NameSpace AddStore has absolutely nothing to with MFC - it is
an Outlook Object Model method, which can be called with or without MFC.
If you don't want to use OOM but prefer Extended MAPI, you will need to add
and configure the "MSPST MS" service (or "MSUPST MS" in case of Unicode PST
in Outlook 2003) - there were numerous posts dealing with this subject in
this newsgroup, e.g. see
http://groups.google.com/group/micro...771b3730022d77

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Hi All,
> After googling, I understand that exporting mailbox to .pst file can
> be achieved through NameSpace functions and CopyTo method Is there any
> methods equivalent to NameSpace AddStore?. I doesn't want to include
> MFC in project.
>
> Regards,
> Sridhar D
> (E-Mail Removed) wrote:
>> Hi All,
>>
>> I am looking for a way to backup individual mail box of our Exchange
>> Server 2003.I want to convert my individual mail box to a file and
>> backup it. Can any help me with what MAPI methods i can achive
>> this(though MAPI is not designed for backup). Should I read each mail
>> of mail box and write it to a file ?.
>>
>> Any help on this will be greatly apppreciated.
>>
>> Regards,
>> Sridhar D

>



 
Reply With Quote
 
duraisridhar@gmail.com
Guest
Posts: n/a
 
      19th Aug 2006
Hi Dmitry ,
Thanks for your input. How should I copy my Mail box after
configuring the MSUPST MS service . Any MAPI methods to accompilish my
primary goal of copying mail box to .pst file while using the "MSUPST
MS" service.

Thanks for your time,
Regards,
Sridhar D

Dmitry Streblechenko wrote:
> First of all, NameSpace AddStore has absolutely nothing to with MFC - it is
> an Outlook Object Model method, which can be called with or without MFC.
> If you don't want to use OOM but prefer Extended MAPI, you will need to add
> and configure the "MSPST MS" service (or "MSUPST MS" in case of Unicode PST
> in Outlook 2003) - there were numerous posts dealing with this subject in
> this newsgroup, e.g. see
> http://groups.google.com/group/micro...771b3730022d77
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >
> > Hi All,
> > After googling, I understand that exporting mailbox to .pst file can
> > be achieved through NameSpace functions and CopyTo method Is there any
> > methods equivalent to NameSpace AddStore?. I doesn't want to include
> > MFC in project.
> >
> > Regards,
> > Sridhar D
> > (E-Mail Removed) wrote:
> >> Hi All,
> >>
> >> I am looking for a way to backup individual mail box of our Exchange
> >> Server 2003.I want to convert my individual mail box to a file and
> >> backup it. Can any help me with what MAPI methods i can achive
> >> this(though MAPI is not designed for backup). Should I read each mail
> >> of mail box and write it to a file ?.
> >>
> >> Any help on this will be greatly apppreciated.
> >>
> >> Regards,
> >> Sridhar D

> >


 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      19th Aug 2006
Open the PST store you just added (IMsgStore), then copy the messages/folder
from the exchange store to the newly added PST store.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Dmitry ,
> Thanks for your input. How should I copy my Mail box after
> configuring the MSUPST MS service . Any MAPI methods to accompilish my
> primary goal of copying mail box to .pst file while using the "MSUPST
> MS" service.
>
> Thanks for your time,
> Regards,
> Sridhar D
>
> Dmitry Streblechenko wrote:
>> First of all, NameSpace AddStore has absolutely nothing to with MFC - it
>> is
>> an Outlook Object Model method, which can be called with or without MFC.
>> If you don't want to use OOM but prefer Extended MAPI, you will need to
>> add
>> and configure the "MSPST MS" service (or "MSUPST MS" in case of Unicode
>> PST
>> in Outlook 2003) - there were numerous posts dealing with this subject in
>> this newsgroup, e.g. see
>> http://groups.google.com/group/micro...771b3730022d77
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> >
>> > Hi All,
>> > After googling, I understand that exporting mailbox to .pst file can
>> > be achieved through NameSpace functions and CopyTo method Is there any
>> > methods equivalent to NameSpace AddStore?. I doesn't want to include
>> > MFC in project.
>> >
>> > Regards,
>> > Sridhar D
>> > (E-Mail Removed) wrote:
>> >> Hi All,
>> >>
>> >> I am looking for a way to backup individual mail box of our Exchange
>> >> Server 2003.I want to convert my individual mail box to a file and
>> >> backup it. Can any help me with what MAPI methods i can achive
>> >> this(though MAPI is not designed for backup). Should I read each mail
>> >> of mail box and write it to a file ?.
>> >>
>> >> Any help on this will be greatly apppreciated.
>> >>
>> >> Regards,
>> >> Sridhar D
>> >

>



 
Reply With Quote
 
duraisridhar@gmail.com
Guest
Posts: n/a
 
      21st Aug 2006
Hi,
Thanks for your suggestions. I tried copying individual mailbox to
newly created folder, but CopyTo call failed with error
MAPI_E_NOT_FOUND. Both the store opened with MAPI_BEST_ACCESS and
lpInterface value NULL(default) while opening. The lpInterface value in
CopyTo method is IID_IMsgStore.Here is what I'm passing to CopyTo
method.

HRESULT copyResult = oldlpMDB->CopyTo(0, NULL, NULL, 0, NULL,
(LPCIID)&IID_IMsgStore,
newLPMDB,
0,
&lpspropProblemArray);

Can any one guess where I'm going wrong.
Thanks in Advance,

Thanks & Regards,
Sridhar D

Dmitry Streblechenko wrote:
> Open the PST store you just added (IMsgStore), then copy the messages/folder
> from the exchange store to the newly added PST store.
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi Dmitry ,
> > Thanks for your input. How should I copy my Mail box after
> > configuring the MSUPST MS service . Any MAPI methods to accompilish my
> > primary goal of copying mail box to .pst file while using the "MSUPST
> > MS" service.
> >
> > Thanks for your time,
> > Regards,
> > Sridhar D
> >
> > Dmitry Streblechenko wrote:
> >> First of all, NameSpace AddStore has absolutely nothing to with MFC - it
> >> is
> >> an Outlook Object Model method, which can be called with or without MFC.
> >> If you don't want to use OOM but prefer Extended MAPI, you will need to
> >> add
> >> and configure the "MSPST MS" service (or "MSUPST MS" in case of Unicode
> >> PST
> >> in Outlook 2003) - there were numerous posts dealing with this subject in
> >> this newsgroup, e.g. see
> >> http://groups.google.com/group/micro...771b3730022d77
> >>
> >> Dmitry Streblechenko (MVP)
> >> http://www.dimastr.com/
> >> OutlookSpy - Outlook, CDO
> >> and MAPI Developer Tool
> >>
> >> <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> >
> >> > Hi All,
> >> > After googling, I understand that exporting mailbox to .pst file can
> >> > be achieved through NameSpace functions and CopyTo method Is there any
> >> > methods equivalent to NameSpace AddStore?. I doesn't want to include
> >> > MFC in project.
> >> >
> >> > Regards,
> >> > Sridhar D
> >> > (E-Mail Removed) wrote:
> >> >> Hi All,
> >> >>
> >> >> I am looking for a way to backup individual mail box of our Exchange
> >> >> Server 2003.I want to convert my individual mail box to a file and
> >> >> backup it. Can any help me with what MAPI methods i can achive
> >> >> this(though MAPI is not designed for backup). Should I read each mail
> >> >> of mail box and write it to a file ?.
> >> >>
> >> >> Any help on this will be greatly apppreciated.
> >> >>
> >> >> Regards,
> >> >> Sridhar D
> >> >

> >


 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      21st Aug 2006
Use IMAPIFolder::CopyFolder/CopyMessages methods.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
> Thanks for your suggestions. I tried copying individual mailbox to
> newly created folder, but CopyTo call failed with error
> MAPI_E_NOT_FOUND. Both the store opened with MAPI_BEST_ACCESS and
> lpInterface value NULL(default) while opening. The lpInterface value in
> CopyTo method is IID_IMsgStore.Here is what I'm passing to CopyTo
> method.
>
> HRESULT copyResult = oldlpMDB->CopyTo(0, NULL, NULL, 0, NULL,
> (LPCIID)&IID_IMsgStore,
> newLPMDB,
> 0,
> &lpspropProblemArray);
>
> Can any one guess where I'm going wrong.
> Thanks in Advance,
>
> Thanks & Regards,
> Sridhar D
>
> Dmitry Streblechenko wrote:
>> Open the PST store you just added (IMsgStore), then copy the
>> messages/folder
>> from the exchange store to the newly added PST store.
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hi Dmitry ,
>> > Thanks for your input. How should I copy my Mail box after
>> > configuring the MSUPST MS service . Any MAPI methods to accompilish my
>> > primary goal of copying mail box to .pst file while using the "MSUPST
>> > MS" service.
>> >
>> > Thanks for your time,
>> > Regards,
>> > Sridhar D
>> >
>> > Dmitry Streblechenko wrote:
>> >> First of all, NameSpace AddStore has absolutely nothing to with MFC -
>> >> it
>> >> is
>> >> an Outlook Object Model method, which can be called with or without
>> >> MFC.
>> >> If you don't want to use OOM but prefer Extended MAPI, you will need
>> >> to
>> >> add
>> >> and configure the "MSPST MS" service (or "MSUPST MS" in case of
>> >> Unicode
>> >> PST
>> >> in Outlook 2003) - there were numerous posts dealing with this subject
>> >> in
>> >> this newsgroup, e.g. see
>> >> http://groups.google.com/group/micro...771b3730022d77
>> >>
>> >> Dmitry Streblechenko (MVP)
>> >> http://www.dimastr.com/
>> >> OutlookSpy - Outlook, CDO
>> >> and MAPI Developer Tool
>> >>
>> >> <(E-Mail Removed)> wrote in message
>> >> news:(E-Mail Removed)...
>> >> >
>> >> > Hi All,
>> >> > After googling, I understand that exporting mailbox to .pst file can
>> >> > be achieved through NameSpace functions and CopyTo method Is there
>> >> > any
>> >> > methods equivalent to NameSpace AddStore?. I doesn't want to include
>> >> > MFC in project.
>> >> >
>> >> > Regards,
>> >> > Sridhar D
>> >> > (E-Mail Removed) wrote:
>> >> >> Hi All,
>> >> >>
>> >> >> I am looking for a way to backup individual mail box of our
>> >> >> Exchange
>> >> >> Server 2003.I want to convert my individual mail box to a file and
>> >> >> backup it. Can any help me with what MAPI methods i can achive
>> >> >> this(though MAPI is not designed for backup). Should I read each
>> >> >> mail
>> >> >> of mail box and write it to a file ?.
>> >> >>
>> >> >> Any help on this will be greatly apppreciated.
>> >> >>
>> >> >> Regards,
>> >> >> Sridhar D
>> >> >
>> >

>



 
Reply With Quote
 
duraisridhar@gmail.com
Guest
Posts: n/a
 
      22nd Aug 2006
Hi Dmitry ,

It worked like a charm . Thanks for your quick responses.

Regards,
Sridhar D

Dmitry Streblechenko wrote:
> Use IMAPIFolder::CopyFolder/CopyMessages methods.
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi,
> > Thanks for your suggestions. I tried copying individual mailbox to
> > newly created folder, but CopyTo call failed with error
> > MAPI_E_NOT_FOUND. Both the store opened with MAPI_BEST_ACCESS and
> > lpInterface value NULL(default) while opening. The lpInterface value in
> > CopyTo method is IID_IMsgStore.Here is what I'm passing to CopyTo
> > method.
> >
> > HRESULT copyResult = oldlpMDB->CopyTo(0, NULL, NULL, 0, NULL,
> > (LPCIID)&IID_IMsgStore,
> > newLPMDB,
> > 0,
> > &lpspropProblemArray);
> >
> > Can any one guess where I'm going wrong.
> > Thanks in Advance,
> >
> > Thanks & Regards,
> > Sridhar D
> >
> > Dmitry Streblechenko wrote:
> >> Open the PST store you just added (IMsgStore), then copy the
> >> messages/folder
> >> from the exchange store to the newly added PST store.
> >>
> >> Dmitry Streblechenko (MVP)
> >> http://www.dimastr.com/
> >> OutlookSpy - Outlook, CDO
> >> and MAPI Developer Tool
> >>
> >> <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > Hi Dmitry ,
> >> > Thanks for your input. How should I copy my Mail box after
> >> > configuring the MSUPST MS service . Any MAPI methods to accompilish my
> >> > primary goal of copying mail box to .pst file while using the "MSUPST
> >> > MS" service.
> >> >
> >> > Thanks for your time,
> >> > Regards,
> >> > Sridhar D
> >> >
> >> > Dmitry Streblechenko wrote:
> >> >> First of all, NameSpace AddStore has absolutely nothing to with MFC -
> >> >> it
> >> >> is
> >> >> an Outlook Object Model method, which can be called with or without
> >> >> MFC.
> >> >> If you don't want to use OOM but prefer Extended MAPI, you will need
> >> >> to
> >> >> add
> >> >> and configure the "MSPST MS" service (or "MSUPST MS" in case of
> >> >> Unicode
> >> >> PST
> >> >> in Outlook 2003) - there were numerous posts dealing with this subject
> >> >> in
> >> >> this newsgroup, e.g. see
> >> >> http://groups.google.com/group/micro...771b3730022d77
> >> >>
> >> >> Dmitry Streblechenko (MVP)
> >> >> http://www.dimastr.com/
> >> >> OutlookSpy - Outlook, CDO
> >> >> and MAPI Developer Tool
> >> >>
> >> >> <(E-Mail Removed)> wrote in message
> >> >> news:(E-Mail Removed)...
> >> >> >
> >> >> > Hi All,
> >> >> > After googling, I understand that exporting mailbox to .pst file can
> >> >> > be achieved through NameSpace functions and CopyTo method Is there
> >> >> > any
> >> >> > methods equivalent to NameSpace AddStore?. I doesn't want to include
> >> >> > MFC in project.
> >> >> >
> >> >> > Regards,
> >> >> > Sridhar D
> >> >> > (E-Mail Removed) wrote:
> >> >> >> Hi All,
> >> >> >>
> >> >> >> I am looking for a way to backup individual mail box of our
> >> >> >> Exchange
> >> >> >> Server 2003.I want to convert my individual mail box to a file and
> >> >> >> backup it. Can any help me with what MAPI methods i can achive
> >> >> >> this(though MAPI is not designed for backup). Should I read each
> >> >> >> mail
> >> >> >> of mail box and write it to a file ?.
> >> >> >>
> >> >> >> Any help on this will be greatly apppreciated.
> >> >> >>
> >> >> >> Regards,
> >> >> >> Sridhar D
> >> >> >
> >> >

> >


 
Reply With Quote
 
duraisridhar@gmail.com
Guest
Posts: n/a
 
      24th Aug 2006
Hi ,
CopyFolder fails for set of Folders likely Notes, Outbox, Sent Items,
Tasks and special folders created by user.
I couldn't infer anything form the error "MAPI_W_PARTIAL_COMPLETION",
I receive.
Is anything i'm missing?.

Regards,
Sridhar D

(E-Mail Removed) wrote:
> Hi Dmitry ,
>
> It worked like a charm . Thanks for your quick responses.
>
> Regards,
> Sridhar D
>
> Dmitry Streblechenko wrote:
> > Use IMAPIFolder::CopyFolder/CopyMessages methods.
> >
> > Dmitry Streblechenko (MVP)
> > http://www.dimastr.com/
> > OutlookSpy - Outlook, CDO
> > and MAPI Developer Tool
> >
> > <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Hi,
> > > Thanks for your suggestions. I tried copying individual mailbox to
> > > newly created folder, but CopyTo call failed with error
> > > MAPI_E_NOT_FOUND. Both the store opened with MAPI_BEST_ACCESS and
> > > lpInterface value NULL(default) while opening. The lpInterface value in
> > > CopyTo method is IID_IMsgStore.Here is what I'm passing to CopyTo
> > > method.
> > >
> > > HRESULT copyResult = oldlpMDB->CopyTo(0, NULL, NULL, 0, NULL,
> > > (LPCIID)&IID_IMsgStore,
> > > newLPMDB,
> > > 0,
> > > &lpspropProblemArray);
> > >
> > > Can any one guess where I'm going wrong.
> > > Thanks in Advance,
> > >
> > > Thanks & Regards,
> > > Sridhar D
> > >
> > > Dmitry Streblechenko wrote:
> > >> Open the PST store you just added (IMsgStore), then copy the
> > >> messages/folder
> > >> from the exchange store to the newly added PST store.
> > >>
> > >> Dmitry Streblechenko (MVP)
> > >> http://www.dimastr.com/
> > >> OutlookSpy - Outlook, CDO
> > >> and MAPI Developer Tool
> > >>
> > >> <(E-Mail Removed)> wrote in message
> > >> news:(E-Mail Removed)...
> > >> > Hi Dmitry ,
> > >> > Thanks for your input. How should I copy my Mail box after
> > >> > configuring the MSUPST MS service . Any MAPI methods to accompilish my
> > >> > primary goal of copying mail box to .pst file while using the "MSUPST
> > >> > MS" service.
> > >> >
> > >> > Thanks for your time,
> > >> > Regards,
> > >> > Sridhar D
> > >> >
> > >> > Dmitry Streblechenko wrote:
> > >> >> First of all, NameSpace AddStore has absolutely nothing to with MFC -
> > >> >> it
> > >> >> is
> > >> >> an Outlook Object Model method, which can be called with or without
> > >> >> MFC.
> > >> >> If you don't want to use OOM but prefer Extended MAPI, you will need
> > >> >> to
> > >> >> add
> > >> >> and configure the "MSPST MS" service (or "MSUPST MS" in case of
> > >> >> Unicode
> > >> >> PST
> > >> >> in Outlook 2003) - there were numerous posts dealing with this subject
> > >> >> in
> > >> >> this newsgroup, e.g. see
> > >> >> http://groups.google.com/group/micro...771b3730022d77
> > >> >>
> > >> >> Dmitry Streblechenko (MVP)
> > >> >> http://www.dimastr.com/
> > >> >> OutlookSpy - Outlook, CDO
> > >> >> and MAPI Developer Tool
> > >> >>
> > >> >> <(E-Mail Removed)> wrote in message
> > >> >> news:(E-Mail Removed)...
> > >> >> >
> > >> >> > Hi All,
> > >> >> > After googling, I understand that exporting mailbox to .pst file can
> > >> >> > be achieved through NameSpace functions and CopyTo method Is there
> > >> >> > any
> > >> >> > methods equivalent to NameSpace AddStore?. I doesn't want to include
> > >> >> > MFC in project.
> > >> >> >
> > >> >> > Regards,
> > >> >> > Sridhar D
> > >> >> > (E-Mail Removed) wrote:
> > >> >> >> Hi All,
> > >> >> >>
> > >> >> >> I am looking for a way to backup individual mail box of our
> > >> >> >> Exchange
> > >> >> >> Server 2003.I want to convert my individual mail box to a file and
> > >> >> >> backup it. Can any help me with what MAPI methods i can achive
> > >> >> >> this(though MAPI is not designed for backup). Should I read each
> > >> >> >> mail
> > >> >> >> of mail box and write it to a file ?.
> > >> >> >>
> > >> >> >> Any help on this will be greatly apppreciated.
> > >> >> >>
> > >> >> >> Regards,
> > >> >> >> Sridhar D
> > >> >> >
> > >> >
> > >


 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      24th Aug 2006
You might be better off explcitly creating new destination folders
recursively and copying messages one at a time.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi ,
> CopyFolder fails for set of Folders likely Notes, Outbox, Sent Items,
> Tasks and special folders created by user.
> I couldn't infer anything form the error "MAPI_W_PARTIAL_COMPLETION",
> I receive.
> Is anything i'm missing?.
>
> Regards,
> Sridhar D
>
> (E-Mail Removed) wrote:
>> Hi Dmitry ,
>>
>> It worked like a charm . Thanks for your quick responses.
>>
>> Regards,
>> Sridhar D
>>
>> Dmitry Streblechenko wrote:
>> > Use IMAPIFolder::CopyFolder/CopyMessages methods.
>> >
>> > Dmitry Streblechenko (MVP)
>> > http://www.dimastr.com/
>> > OutlookSpy - Outlook, CDO
>> > and MAPI Developer Tool
>> >
>> > <(E-Mail Removed)> wrote in message
>> > news:(E-Mail Removed)...
>> > > Hi,
>> > > Thanks for your suggestions. I tried copying individual mailbox to
>> > > newly created folder, but CopyTo call failed with error
>> > > MAPI_E_NOT_FOUND. Both the store opened with MAPI_BEST_ACCESS and
>> > > lpInterface value NULL(default) while opening. The lpInterface value
>> > > in
>> > > CopyTo method is IID_IMsgStore.Here is what I'm passing to CopyTo
>> > > method.
>> > >
>> > > HRESULT copyResult = oldlpMDB->CopyTo(0, NULL, NULL, 0, NULL,
>> > > (LPCIID)&IID_IMsgStore,
>> > > newLPMDB,
>> > > 0,
>> > > &lpspropProblemArray);
>> > >
>> > > Can any one guess where I'm going wrong.
>> > > Thanks in Advance,
>> > >
>> > > Thanks & Regards,
>> > > Sridhar D
>> > >
>> > > Dmitry Streblechenko wrote:
>> > >> Open the PST store you just added (IMsgStore), then copy the
>> > >> messages/folder
>> > >> from the exchange store to the newly added PST store.
>> > >>
>> > >> Dmitry Streblechenko (MVP)
>> > >> http://www.dimastr.com/
>> > >> OutlookSpy - Outlook, CDO
>> > >> and MAPI Developer Tool
>> > >>
>> > >> <(E-Mail Removed)> wrote in message
>> > >> news:(E-Mail Removed)...
>> > >> > Hi Dmitry ,
>> > >> > Thanks for your input. How should I copy my Mail box after
>> > >> > configuring the MSUPST MS service . Any MAPI methods to
>> > >> > accompilish my
>> > >> > primary goal of copying mail box to .pst file while using the
>> > >> > "MSUPST
>> > >> > MS" service.
>> > >> >
>> > >> > Thanks for your time,
>> > >> > Regards,
>> > >> > Sridhar D
>> > >> >
>> > >> > Dmitry Streblechenko wrote:
>> > >> >> First of all, NameSpace AddStore has absolutely nothing to with
>> > >> >> MFC -
>> > >> >> it
>> > >> >> is
>> > >> >> an Outlook Object Model method, which can be called with or
>> > >> >> without
>> > >> >> MFC.
>> > >> >> If you don't want to use OOM but prefer Extended MAPI, you will
>> > >> >> need
>> > >> >> to
>> > >> >> add
>> > >> >> and configure the "MSPST MS" service (or "MSUPST MS" in case of
>> > >> >> Unicode
>> > >> >> PST
>> > >> >> in Outlook 2003) - there were numerous posts dealing with this
>> > >> >> subject
>> > >> >> in
>> > >> >> this newsgroup, e.g. see
>> > >> >> http://groups.google.com/group/micro...771b3730022d77
>> > >> >>
>> > >> >> Dmitry Streblechenko (MVP)
>> > >> >> http://www.dimastr.com/
>> > >> >> OutlookSpy - Outlook, CDO
>> > >> >> and MAPI Developer Tool
>> > >> >>
>> > >> >> <(E-Mail Removed)> wrote in message
>> > >> >> news:(E-Mail Removed)...
>> > >> >> >
>> > >> >> > Hi All,
>> > >> >> > After googling, I understand that exporting mailbox to .pst
>> > >> >> > file can
>> > >> >> > be achieved through NameSpace functions and CopyTo method Is
>> > >> >> > there
>> > >> >> > any
>> > >> >> > methods equivalent to NameSpace AddStore?. I doesn't want to
>> > >> >> > include
>> > >> >> > MFC in project.
>> > >> >> >
>> > >> >> > Regards,
>> > >> >> > Sridhar D
>> > >> >> > (E-Mail Removed) wrote:
>> > >> >> >> Hi All,
>> > >> >> >>
>> > >> >> >> I am looking for a way to backup individual mail box of our
>> > >> >> >> Exchange
>> > >> >> >> Server 2003.I want to convert my individual mail box to a file
>> > >> >> >> and
>> > >> >> >> backup it. Can any help me with what MAPI methods i can achive
>> > >> >> >> this(though MAPI is not designed for backup). Should I read
>> > >> >> >> each
>> > >> >> >> mail
>> > >> >> >> of mail box and write it to a file ?.
>> > >> >> >>
>> > >> >> >> Any help on this will be greatly apppreciated.
>> > >> >> >>
>> > >> >> >> Regards,
>> > >> >> >> Sridhar D
>> > >> >> >
>> > >> >
>> > >

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enumerate Outlook items in mailbox using MAPI Greg J Microsoft Outlook VBA Programming 5 20th Mar 2007 06:16 PM
MAPI Profiles and Exchange Mailbox Moves =?Utf-8?B?S2VudA==?= Microsoft Outlook Discussion 1 30th Nov 2005 09:55 PM
How to get the store (mailbox) MAPI DN of current message? George Wang Microsoft Outlook Program Addins 3 11th Feb 2004 08:01 PM
Set mailbox permissions MAPI (Outlook) thedude Microsoft Outlook VBA Programming 2 23rd Dec 2003 10:39 PM
Re: After I restored an individual's mailbox. . . Lanwench [MVP - Exchange] Microsoft Outlook 0 23rd Jul 2003 03:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:49 AM.