Moyosoft Products | Services | Download | Contact us    
Java Bridge to Exchange
Products  >  Java Bridge to Exchange  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

ExchangeFolder.createItem

public ExchangeItem createItem(ItemType itemType)

Creates a new item in this folder. The specified type defines what kind of item will be created.

Throws:
ExchangeServiceException   if any errors occur during the communication with Exchange.

public ExchangeItem createItem(String itemClass)

Creates a new item in this folder with the specified item class. The following classes are used for standard items:

"IPM.Appointment" for appointments.
"IPM.Contact" for contacts.
"IPM.Activity" for Journal entries.
"IPM.Note" for e-mail messages.
"IPM.StickyNote" for Outlook sticky notes.
"IPM.Task" for tasks.

Throws:
ExchangeServiceException   if any errors occur during the communication with Exchange.

Community comments



Powered by JavaDocPlus