How to set up send an email with Amazon SES

图片[1]-How to set up send an email with Amazon SES-G-Suite

Amazon Simple Email Service (SES) is a cost-effective email service built on the reliable and scalable infrastructure that Amazon.com developed to serve its own customer base. With Amazon SES, you can send transactional email, marketing messages, or any other type of high-quality content to your customers.

In this tutorial, you will learn how to send your first email using Amazon SES. We will walk through how to verify that you own the email address, and then send an email using the Amazon SES console.

Step 1: Enter the Amazon SES Console

When you click here, the AWS Management Console will open in a new browser window, so you can keep this step-by-step guide open. To open the Amazon SES console, look under Application Services and select SES.

图片[2]-How to set up send an email with Amazon SES-G-Suite

Step 2: Verify an Email Address

Before you can send an email using Amazon SES, you must prove that you own the sender’s email address by verifying the address (or the domain of the address) with Amazon SES. If you are a new user of Amazon SES, you must also verify the recipient’s address, because your account is in a test environment called the Amazon SES sandbox. You can later apply to move out of the sandbox and lift the recipient address limitation.

In this tutorial, you will send an email to and from the same email address.

a. In the left navigation pane of the Amazon SES console, under Identity Management, select Email Addresses.

图片[3]-How to set up send an email with Amazon SES-G-Suite

 

b. Select Verify a New Email Address.

图片[4]-How to set up send an email with Amazon SES-G-Suite

 

c. Enter your email address, and then select Verify This Email Address.

Amazon SES will now send a verification email to that address.

图片[5]-How to set up send an email with Amazon SES-G-Suite

 

d. Sign in to the email client you use to receive email for the email address you entered in the last step. In your email client, open the message from Amazon Web Services asking you to confirm that you own the email address. Click the link in the message.

图片[6]-How to set up send an email with Amazon SES-G-Suite

e. Go back to the Amazon SES console, and refresh the identity list by using the refresh button near the top right of the console. Confirm that the status of the email address in the Amazon SES console is verified.

图片[7]-How to set up send an email with Amazon SES-G-Suite

Now that you have verified an email address, you can send an email. With Amazon SES, you can send an email in three ways: using the console, using the Simple Mail Transfer Protocol (SMTP) interface, or using the API.

This tutorial shows how to use the simplest method, the console. After you get started with Amazon SES, you will want to send your emails using the SMTP interface or the API, because you can access those programmatically.

With Amazon SES, you can send formatted email or raw email. If you choose formatted email, Amazon SES formats the email for you. If you choose raw email, you must manually format the email, which gives you more control over the email headers and how the message displays. In this tutorial, we use raw format so that we can demonstrate how to send an email formatted in HTML.

a. In the Amazon SES console, select the button to the left of the email address you just verified, and then select Send a Test Email.

图片[8]-How to set up send an email with Amazon SES-G-Suite

b. In the Send Test Email dialog box, use the following values, and then select Send Test Email.

  • Email Format – Choose Raw.
  • To – Enter the email address you verified.
  • Message – Copy and paste the following text, exactly as shown, into the box.

Important: After you paste the message text into the box, delete any blank lines before the “Subject” line, so that the received message is formatted correctly.

Subject: Amazon SES Test
MIME-Version: 1.0
Content-Type: text/html
<!DOCTYPE html>
<html>
<body>
<h1>You have successfully sent an email using Amazon SES!</h1>
<p>For more information about Amazon SES, see the <a href="http://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html">Amazon SES Developer Guide</a>.</p>
</body>
</html>

 

图片[9]-How to set up send an email with Amazon SES-G-Suite

c. Sign in to the email client of the address you sent the email to. You will find the message that you sent. If you cannot find it, check the spam folder.

图片[10]-How to set up send an email with Amazon SES-G-Suite

Congratulations!

You have sent your first email using Amazon SES.

  Next Steps

Now that you have verified an email address and sent an email using the Amazon SES console, your next steps are:

THE END
喜欢就支持以下吧
点赞6 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容