[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


Outlook - saving new mail in specific folder

Posted on 2002-06-13
Medium Priority
Last Modified: 2010-05-02
When a new mail item is created in Outlook (through automation), how do you save it to a specific folder? It always saves the email in the Drafts folder which I presume is the "Outlook default folder for the item type".
Question by:jgv
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Expert Comment

ID: 7075708
In the Menu, select Tools --> Rules Wizard and you can specify which message should get saved in what specific folder.
LVL 12

Author Comment

ID: 7075766

The messages that need to be saved are newly created, unsent email. The rules wizard works with sent and recieved messages only.

If you create a new message in Outlook and then save it, it is saved in the Drafts folder automatically. I realize that the default folder can be changed in Outlook but I do not want to do this. Email created by a user *should* go into the drafts folder but the email that I am generating through code needs to be saved in a specific folder.
LVL 12

Author Comment

ID: 7075803
Figured it out.

After creating the email, instead of .Save (which always saves it in the Drafts folder), I am using:

MailItem.Move (myMAPIFolder)

to save it in a specific folder.


Expert Comment

ID: 7075826
Thats good news!!


Accepted Solution

Moondancer earned 0 total points
ID: 7075897
Thanks for posting the solution you found.  I have refunded your 50 points to you and moved this to our PAQ at zero points and closed it.  PAQ = Previously Asked Questions database which is  a resource to help others.

Moondancer - EE Moderator

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question