Exchange OData Connector 25.4
Exchange OData Connector Help

# Insert a Message

To insert a message, your `insertXML` must include the following properties:

Property name | Description
--- | ---
`TYPE` | The type of item to insert (set this property to `MESSAGE`).
`FOLDER_ID` | The folder to add the message to. You can specify an ID or a folder name such as `Inbox`. Folder names `Calendar` `Contacts` `DeletedItems` `Drafts` `Inbox` `Journal` `Notes` `Outbox` `SentItems` `Tasks` `MsgFolderRoot` `PublicFoldersRoot` `Root` `JunkEmail` `SearchFolders` `VoiceMail` `RecoverableItemsRoot` `RecoverableItemsDeletions` `RecoverableItemsVersions` `RecoverableItemsPurges` `SyncIssues` `Conflicts` `LocalFailures` `ServerFailures` `RecipientCache` `QuickContacts` `ConversationHistory` `ToDoSearch`
`USER_ID` | The ID of the user account to add the message to.

For example, to add a message to the inbox of the specified user:

    <insertXML>
      <insert>
        <reference>Inserted message</reference>
        <property name="FOLDER_ID" value="Inbox"/>
        <property name="TYPE" value="MESSAGE"/>
        <property name="USER_ID" value="2fbcacc4-2b74-4cfd-bb3e-edad8f0cd0cc"/>
        <file>
          <type>file</type>
          <content>message.eml</content>
        </file>
      </insert>
    </insertXML>

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Exchange OData Connector 25.4

Topic Title: Insert a Message