Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Quickly And Easily Add MAPI Support Using Winsoft’s MAPI for Delphi on Windows

Embarcadero Tech Partner WINSOFT provides an easy to use MAPI suite for Delphi.

What makes MAPI hard?

MAPI is hard. There is lack of clear and consistent coding, different answers provide different solutions, the solution is not in Delphi, there has to be various work-arounds, or the code-snipplet was built for very old non-Unicode version of Delphi. You eventually tear your hair out or get exasperated with partial or non-working solutions.

C#, VB.NET users are left out in the cold: if you look around, using MAPI in C# is out of the question as you’ll get all kind of errors as, Extended MAPI is not supported for use with .NET

MAPI is supported in native-languages, such as C++ Builder and Delphi.

MAPI is an interface for, nearly all email clients on the Windows platform. TheBat – an independent email client, ThunderBird – the FireFox competitor to Outlook, HCL Lotus Notes (formerly IBM, formerly Lotus Notes) and Outlook.

MAPI works in both 32-bit and 64-bits, and is installed on Windows 10 as 64-bit MAPI, with 32-bit MAPI compatible DLL.

Installation

Installation takes less than 1 minute

Steps:

  1. Go to https://www.winsoft.sk/smapi.htm for the download link
  2. Download the trial version
  3. Unzip smapi.zip

Simple MAPI Demonstration

I will send an email with attachment.

The code-behind the form, is less than 10 lines:

[crayon-676d6dbfbf84a026259143/]

And successfully sends an email via Outlook:

Email Sent

The code attaches an email to be sent, with attachment.

Outlook Draft Email

Make Winsoft’s Simple MAPI Component Suite part of your Delphi arsenal.

Exit mobile version