Here's the scenario: I can create a new MAPI folder through CDO, but it defaults to be a "Mail and Post Items" type folder (i.e. will hold e-mail), whereas I want it to be a "Contact Items" type folder. Any suggestions?
Here's the basic code:
Set Session = CreateObject("MAPI.Session"
Session.Logon
Set Contacts = Session.GetDefaultFolder(5)
Set newFolder = Contacts.Folders.Add("New Book"
Here's the basic code:
Set Session = CreateObject("MAPI.Session"
Session.Logon
Set Contacts = Session.GetDefaultFolder(5)
Set newFolder = Contacts.Folders.Add("New Book"