Announcement: Appercept AWS SDK for Delphi 0.11.0 Released!
New AWS SDK for Delphi released with support for Amazon Simple Email Service.
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…
program SendEmail;
{$APPTYPE CONSOLE}
implementation
uses
AWS.SESV2;
var
Client: ISESV2Client;
Destination: ISESV2Destination;
EmailMessage: ISESV2Message;
Request: ISESV2SendEmailRequest;
Response: ISESV2SendEmailResponse;
begin
Destination := TSESV2Destination.Create;
Destination.AddToAddress('world@example.com');
EmailMessage := TSESV2Message.Create('Announcing...');
EmailMessage.Body.Text := 'Hello, World!';
Request := TSESV2SendEmailRequest.Create;
Request.FromEmailAddress := 'sender@example.com';
Request.Destination := Destination;
Request.Content.Simple := EmailMessage;
Client := TSESV2Client.Create;
Client.SendEmail(Request);
end.
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.
More posts
Building an S3 application in Delphi
A working Delphi app that creates a bucket, lists objects, uploads and downloads files, and generates presigned URLs — the credential chain from the last post does the rest.
Read more →
Credentials for the AWS SDK for Delphi
The AWS credential provider chain, configuring credentials for different environments, and handling the exception you'll hit the first time something's wrong.
Read more →
Calling Amazon Translate from Delphi
Install the AWS SDK for Delphi, plug in credentials, and call Amazon Translate from an FMX app in under fifty lines of code.
Read more →