Office365 / Outlook.com Delphi Component

Office365 / Outlook.com Delphi Component is a non-visual component that allows you to access calendar, tasks, mail and contacts data on Office 365 or Outlook.com accounts using Delphi. The component uses the official APIs, which guarantee maximum compatibility and fewest possible modifications to future versions. And there's no need for any specialized MS Exchange knowledge!

Features

  • Create, rename and delete calendars
  • Create and edit events (all properties supported, including reminders, recurring appointments and all day events)
  • Get list of contact folders
  • Create and edit contacts (all properties are supported)
  • Create, rename and delete task folders
  • Create and edit tasks (all properties are supported)
  • Pull calendar, tasks and contacts for changes using deltaToken queries
  • Create and edit email messages and email folders
  • Copy and move emails and mail folders
  • Send email messages and include attachments (including large ones from 3 MB to 150 MB)
  • Search for email messages
  • Proxy servers support

Examples

Connecting to Office 365 or Outlook.com and showing list of calendars in the listbox.

OCom := TOutlookCom.Create;
OCom.LoadCalendars;
for I := 0 to OCom.CalendarCount - 1 do
  ListBox1.Items.Add(OCom.Calendars[I].Name);
OCom.Free;

Adding a new event starting April, 20, 2021 at 10:00, ending at 10:30 with a subject Meeting John.

with OCom.GetCalendar(0).NewEvent do
begin
  StartDateTime := EncodeDate(2021, 4, 20) + EncodeTime(10, 0, 0, 0);
  EndDateTime := EncodeDate(2021, 4, 20) + EncodeTime(10, 30, 0, 0);
  Subject := 'Meeting John';
  Store;
end;

Deleting event SomeEvent: TOCEvent.

OCom.GetCalendar.DeleteEvent(SomeEvent);

Compiled Demo Screenshots

Click on the screenshot to view a larger image.

Office365 and Outlook.com Demo. Calendar Office365 and Outlook.com Demo. Contacts Office365 and Outlook.com Demo. Tasks

Office365 and Outlook.com Demo. Mail

Single developer license

For 1 developer
Buy Now!
With source code
Free updates for one year
Priority lifetime support

Site license

For unlimited developers in the company
Buy Now!
With source code
Free updates for one year
Priority lifetime support

Compiled demo

Working example with source code
Download2.0 MB

Trial version

For Delphi XE - 10.4 Sydney, works under IDE only
Download1.0 MB

All Cloud Components in Bundle

With source code
Free updates for one year
Priority lifetime support

Single developer license

For 1 developer
Buy Now!

Site license

For unlimited developers in the company
Buy Now!

Version History

OODC 3.1Jul. 29, 2021

OODC 3.0May 07, 2021

OODC 2.2.1Nov. 17, 2020

See more version history