PST mails

  • Thread starter Thread starter SDeep
  • Start date Start date
Hi
Namespace.AddStore method create a new pst file. But when open this
pst file in Outlook, it contains only a single entry "Deleted Item". This
pst file don't contains entries like Inbox,Outbox,Sentitem etc.
Is there any method to create a pst file which contains all entries.
Thanks
 
When you add a .pst file to an existing profile, Outlook only creates the
Deleted Items folder automatically. You can create other folders with the
MAPIFolder.Folders.Add method. Also, if the .pst file is ever used as the
default store for a profile, Outlook will automatically created the required
default folders in it.

Maybe you should explain exactly what it is that you're trying to
accomplish.
 
Thanks
If i create a pst file then is there any method to set this file as
default store for a profile?
Microsoft provides a book "Outlook Programming".
Does this include all these concepts as well as import and export from a pst
file?
 
The Outlook object model itself provides no method for setting a store as
the default delivery location. It might be possible with the Profman library
from Redemption (http://www.dimastr.com/redemption/) but I haven't explored
that. The technique that Microsoft provides is to apply a .prf profile file,
which you can build with the Custom Installation Wizard or Custom
Maintenance Wizard from the Office Resource Kit.

Importing and exporting consists of copying data and creating new items. Any
Outlook programming book should cover those basic concepts. There is,
however, no automation for the Import and Export Wizard itself.
 
Thanks
As you said
"Importing and exporting consists of copying data and creating new items. "
If i export something like message,contacts etc. from Outlook Express to
Microsoft Outlook. Then messages,contacts etc will copy in default pst file
of Microsoft Outlook.
Can i copy all these messages,contacts etc. in a seperate pst which is not
set as default for Microsoft Outlook.
Actually i want to copy all these messages,contactc etc. in a seperate pst
which is not set as default for Outlook.
Thanks
 
If Outlook Express had a robust programming interface, you could. But it
doesn't.

If this is a one-time operation, you could just create a new Outlook profile
with an empty .pst file and use OE to export the data there. Then go back to
using your regular Outlook profile.
 
Thanks
Can you give a link for how to send and receive mail in Microsoft
Outlook. Can we send/receive mail without opening Microsoft Outlook? Does
"Outlook Programming" provided by Microsoft include all these things?
 
Hi
I'm thankful to you for your major support. I have one last question
related with "Outlook Programming" provided by Microsoft. the question is
Can i create and add a new message(mail) to outlook using Outlook
Programming. i mean i create a message using Outlook programming. This
message has everything which should be in a mail like
subject,To,CC,Body,Attachment etc.
And when i open Outlook then i see created message in Inbox or any other
folder.
Thanks
 
Yes, take a look at the Application.CreateItem method in the outlook object
model.
 
Back
Top