Outlook Mail (Office 365) Connector
Documentation
Version: 3
Documentation

Table MyMailFolders


Parameters

Parameter Label Required Options Description Help
There are no parameters

Supported Operations

Below section contains supported CRUD operations. Each operation is executed by some EndPoint behind the scene.
Method Supported Reference EndPoint
SELECT get_my_mailfolders
INSERT
UPDATE
UPSERT
DELETE
LOOKUP get_my_mailfolder

Examples

SSIS

Use Outlook Mail (Office 365) Connector in API Source component to read data or in API Destination component to read/write data:

Read from MyMailFolders table using API Source

Outlook Mail (Office 365)
MyMailFolders
SSIS API Source - Read from table or endpoint

Read/write to MyMailFolders table using API Destination

Outlook Mail (Office 365)
MyMailFolders
Select
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Get all mail folders associated with the current user

SELECT * FROM MyMailFolders

Get a specific mail folder associated with the current user by its mail folder ID

SELECT * FROM MyMailFolders
WHERE (Id='AAMkADIwNzNhODMyLTZiMTQtNDhiMCz4OWQzLTc5YTY5M2IyMjk0NAYuAAAAAACbj2hVuNphT74wyYrfU4ixAQAbUV6IxRnpQrWzrb2WfacdAAAAAAEKAcA=')

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Get all mail folders associated with the current user

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM MyMailFolders';

EXEC (@MyQuery) AT [LINKED_SERVER_TO_OUTLOOK_MAIL_OFFICE_365_IN_DATA_GATEWAY];

Get a specific mail folder associated with the current user by its mail folder ID

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM MyMailFolders
WHERE (Id=''AAMkADIwNzNhODMyLTZiMTQtNDhiMCz4OWQzLTc5YTY5M2IyMjk0NAYuAAAAAACbj2hVuNphT74wyYrfU4ixAQAbUV6IxRnpQrWzrb2WfacdAAAAAAEKAcA='')';

EXEC (@MyQuery) AT [LINKED_SERVER_TO_OUTLOOK_MAIL_OFFICE_365_IN_DATA_GATEWAY];