Appercept
Appercept
Appercept AWS SDK for DelphiBlog
Get in touch
All posts
Cover image

Announcement: Appercept AWS SDK for Delphi 0.11.0 Released!

Richard Hatherall

·

5 min read

Email seems so old now when considering all the messaging options available. It is old, 50+ years old! It’s been the lifeblood of many business processes and is still as important today as it ever was. With that in mind, the next release of Appercept AWS SDK for Delphi 0.11.0 includes support for Amazon Simple Email Service (SES).

Amazon SES is a reliable, scalable, and cost-effective email service and can be used for marketing campaigns, notifying users, or transactional emails.

Let’s see how we can send a simple email…

1program SendEmail;
2
3{$APPTYPE CONSOLE}
4
5implementation
6
7uses
8 AWS.SESV2;
9
10var
11 Client: ISESV2Client;
12 Destination: ISESV2Destination;
13 EmailMessage: ISESV2Message;
14 Request: ISESV2SendEmailRequest;
15 Response: ISESV2SendEmailResponse;
16
17begin
18 Destination := TSESV2Destination.Create;
19 Destination.AddToAddress('world@example.com');
20
21 EmailMessage := TSESV2Message.Create('Announcing...');
22 EmailMessage.Body.Text := 'Hello, World!';
23
24 Request := TSESV2SendEmailRequest.Create;
25 Request.FromEmailAddress := 'sender@example.com';
26 Request.Destination := Destination;
27 Request.Content.Simple := EmailMessage;
28
29 Client := TSESV2Client.Create;
30 Client.SendEmail(Request);
31end.

This is just the start. Why not start your next email marketing campaign with Amazon SES with tools written in Delphi? Or, seamlessly integrate email into your existing business applications built in Delphi?

Appercept AWS SDK for Delphi is available exclusively with active Enterprise or Architect subscriptions for Embarcadero Delphi or RAD Studio. You can install the SDK through the GetIt Package Manager within Delphi or RAD Studio if you have an active subscription.

© 2020–2022 Appercept Ltd. All rights reserved.