Returns a MAPIFolder object that represents the default folder of the requested type for the current profile (for example, obtaining the default Calendar folder for the user who is currently logged on).
Note To return a specific nondefault folder, you use the Folders collection.
Syntax
objNameSpace.GetDefaultFolder(FolderTypeEnum)
objNameSpace Required. An expression that returns a NameSpace object.
FolderTypeEnum Required Long. The type of default folder to return. Can be one of the following OlDefaultFolders constants: olFolderCalendar(9), olFolderContacts(10), olFolderDeletedItems(3), olFolderDrafts(16), olFolderInbox(6), olFolderJournal(11), olFolderNotes(12), olFolderOutbox(4), olFolderSentMail(5), or olFolderTasks(13).