Hello, i want to setup a profil in Exchange. My problem is, who can i set a pst-file for the Exchange-account which contains all messages. Is it possible just to set the value like: rgval[1].ulPropTag = PR_STORE_ENRYID; rgval[1].Value.lpszA = "c:\temp\messages.pst"; Must the pst-file exsits before I set the Value? What´s the right way to do this?
No, thase properties are read-only. Do you just want to add a PST fiel to an existign Exchange profile? Or copy all the messages form an Exchange mailbox to a PST store? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "MR" wrote in message news:23D68594-3893-412D-A0CA-ED5539F9ECE1@microsoft.com... > Hello, i want to setup a profil in Exchange. > > My problem is, who can i set a pst-file for the Exchange-account which > contains all messages. > > Is it possible just to set the value like: > > rgval[1].ulPropTag = PR_STORE_ENRYID; > rgval[1].Value.lpszA = "c:\temp\messages.pst"; > > Must the pst-file exsits before I set the Value? > > What´s the right way to do this?
I'am adding the PST store to a new created profil. and all new incomming emails should be saved in this pst-file. The Exchange mailbox should be empty at this time, when I create the profil. "Dmitry Streblechenko" wrote: > No, thase properties are read-only. > Do you just want to add a PST fiel to an existign Exchange profile? > Or copy all the messages form an Exchange mailbox to a PST store? > > Dmitry Streblechenko (MVP) > http://www.dimastr.com/ > OutlookSpy - Outlook, CDO > and MAPI Developer Tool > > "MR" wrote in message > news:23D68594-3893-412D-A0CA-ED5539F9ECE1@microsoft.com... > > Hello, i want to setup a profil in Exchange. > > > > My problem is, who can i set a pst-file for the Exchange-account which > > contains all messages. > > > > Is it possible just to set the value like: > > > > rgval[1].ulPropTag = PR_STORE_ENRYID; > > rgval[1].Value.lpszA = "c:\temp\messages.pst"; > > > > Must the pst-file exsits before I set the Value? > > > > What´s the right way to do this? > > >
You will need to create a new profile using IProfAdmin and add 2 services ("MSPST MS" and "MSEMS") http://groups.google.com/groups/search?hl=en&ie=UTF-8&q=%22mspst+ms%22+createmsgservice http://groups.google.com/groups/search?hl=en&ie=UTF-8&q=msems+createmsgservice Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "MR" wrote in message news:4AC76565-64CC-47A7-9C8E-9145B015CE60@microsoft.com... > I'am adding the PST store to a new created profil. and all new incomming > emails should be saved in this pst-file. The Exchange mailbox should be > empty > at this time, when I create the profil. > > "Dmitry Streblechenko" wrote: > >> No, thase properties are read-only. >> Do you just want to add a PST fiel to an existign Exchange profile? >> Or copy all the messages form an Exchange mailbox to a PST store? >> >> Dmitry Streblechenko (MVP) >> http://www.dimastr.com/ >> OutlookSpy - Outlook, CDO >> and MAPI Developer Tool >> >> "MR" wrote in message >> news:23D68594-3893-412D-A0CA-ED5539F9ECE1@microsoft.com... >> > Hello, i want to setup a profil in Exchange. >> > >> > My problem is, who can i set a pst-file for the Exchange-account which >> > contains all messages. >> > >> > Is it possible just to set the value like: >> > >> > rgval[1].ulPropTag = PR_STORE_ENRYID; >> > rgval[1].Value.lpszA = "c:\temp\messages.pst"; >> > >> > Must the pst-file exsits before I set the Value? >> > >> > What´s the right way to do this? >> >> >>