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