To create a new item in a specific non-default folder, use the Add method on
the target folder's Items collection.You can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy
and return the MAPIFolder corresponding to a given path string.
IF A MESSAGE IS CREATED AS
Mailitem item=oFolder.Items.Add("IPM.NOTE")
then this message is not temporarily stored in that folder
how to store the message temporarily
A message is always stored in the drafts folder. If you want it to reside
somewhere else, save it and move it.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.