Note:

Send Emails using the Oracle Cloud Infrastructure Email Delivery Service HTTP Interface

Introduction

Oracle Cloud Infrastructure (OCI) Email Delivery is an email sending service that provides a fast and reliable managed solution for sending both high volume bulk and transactional emails. Previously, OCI Email Delivery contained only a Simple Mail Transfer Protocol (SMTP) interface. However, we recently announced a new HTTPS REST API for email submission, improving performance, eliminating configuration complexity, and increasing rates of successful inbox placement.

Objective

Prerequisites

Task 1: Understand the Authentication Methods

HTTPS email submissions support standard OCI SDK authentication methods. In this tutorial, we will demonstrate API key-based authentication and instance principal authentication. For more information, see OCI SDK Authentication Methods.

Task 2: Send Email

We will be using the Python software development kit (SDK), but any SDK or the Oracle Cloud Infrastructure Command Line Interface (OCI CLI) can be substituted. For more information about how to install, see Software Development Kits and Command Line Interface.

Note: Refer to the Email Delivery API for a full list of available parameters.

Task 3: Test at Volume

To maintain both your sender reputation and ours, use the following best practices in testing at volume.

Acknowledgments

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.