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 the Microsoft 365 platform using Delphi. The component uses the official Microsoft Graph API, which guarantees 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 Microsoft 365 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.
Single developer license
For 1 developer
Buy Now!
With source code
Free updates for one year
Priority lifetime support
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
Free updates for one year
Priority lifetime support
All Cloud Components in Bundle
With source code
Free updates for one year
Priority lifetime support
Free updates for one year
Priority lifetime support