Amazon Simple Email Service (SES) | Receiving Capabilities Flashcards

1
Q

How do I control the character encoding of my emails with Amazon SES?

Receiving Capabilities

Amazon Simple Email Service (SES) | Customer Engagement

A

The SMTP protocol requires that all data be sent in 7-bit ASCII format. If you want to use a different character encoding with the Amazon SES SMTP interface, you will need to apply your desired encoding to your subject and body, and then convert them to a valid 7-bit ASCII message before sending it to the SMTP endpoint.

The SendEmail API accepts UTF-8 subject and body inputs, transcodes them into whatever format you specify via an optional encoding parameter, and automatically converts the resulting content into 7-bit ASCII with appropriate encoded-word syntax and content-transfer-encoding headers before transmission. The SendRawEmail API requires you to apply your desired encoding to your subject and body and then convert them to a valid 7-bit ASCII message before submitting each request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do I configure Amazon SES to receive email?

Receiving Capabilities

Amazon Simple Email Service (SES) | Customer Engagement

A

You must first verify your domain with Amazon SES to prove that you own it by using the procedure described in the documentation. This process is identical to the domain verification process Amazon SES uses for sending mail. If you are already using your domain to send mail with Amazon SES, you do not need to verify it again.

Once you have successfully verified your domain, the next step is to publish a DNS mail exchanger (MX) record for your domain that points to the regional Amazon SES endpoint that you want to use to receive email. Publishing the MX record is not required to receive mail through Amazon SES, but you must do so if you want your incoming mail to be automatically routed to Amazon SES, rather than route it yourself.

The final step is to create a receipt rule using either the Amazon SES console or API. A receipt rule tells Amazon SES what should happen to incoming email when it is received. For example, you can configure Amazon SES to deliver all incoming email to an Amazon S3 bucket.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What happens when Amazon SES receives my mail?

Receiving Capabilities

Amazon Simple Email Service (SES) | Customer Engagement

A

When Amazon SES receives a message, it references your active receipt rule set to determine whether or not you have any rules that match any of the incoming message’s recipients. If there aren’t any matches, or if the mail was sent from an IP address on your IP address block list, Amazon rejects the mail in the SMTP conversation. Otherwise, Amazon SES accepts the mail.

After Amazon SES accepts the mail, it evaluates your active receipt rules; these rules are then applied in the order that they are defined.

The next steps are determined by the actions you defined in your receipt rules. You can set up your receipt rule to have Amazon SES deliver your messages to an Amazon S3 bucket, call your custom code via an AWS Lambda function, or publish notifications to Amazon SNS. You can also configure Amazon SES to drop or bounce messages you do not want to receive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do I access my mail in Amazon S3?

Receiving Capabilities

Amazon Simple Email Service (SES) | Customer Engagement

A

When you set up a receipt rule to specify that Amazon SES should write your messages to an Amazon S3 bucket, you have the option of setting up Amazon SNS notifications as well. The notifications, which contain general information about the message and the action taken on it, will include the unique ID of the message. You can use this ID to retrieve the corresponding message from Amazon S3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can I process emails I receive?

Receiving Capabilities

Amazon Simple Email Service (SES) | Customer Engagement

A

There are two ways to process mail that you receive. You can either write an application that listens for Amazon SNS notifications from Amazon SES, retrieves the mail from Amazon S3, and processes it. Alternatively, you can write a custom AWS Lambda function.

The AWS Lambda event contains all of the metadata about the message that was received, but does not include the actual message content. If you need access to the message content from within the AWS Lambda, then you need to first write the message to Amazon S3 using an Amazon S3 action before your AWS Lambda action is evaluated. AWS Lambda actions can be executed synchronously or asynchronously, depending on whether or not the AWS Lambda function needs to return a result that influences how other actions are executed.

We recommend that you use asynchronous execution unless your specific application requires you to use synchronous execution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Can multiple different AWS accounts receive mail on the same domain?

Receiving Capabilities

Amazon Simple Email Service (SES) | Customer Engagement

A

More than one AWS account can receive mail for the same domain. For each email that arrives on the shared domain, a copy of the message is processed by each account’s receipt rule set independently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Is there any size limit to the messages that I can receive through Amazon SES?

Receiving Capabilities

Amazon Simple Email Service (SES) | Customer Engagement

A

If you choose for your messages to be stored in an Amazon S3 bucket, the maximum message size (including headers) is 30 megabytes (MB).

If you choose to receive your messages through Amazon SNS notifications, the maximum message size (including headers) is 150 kilobytes (KB).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Is there a limited throughput at which I can receive messages through Amazon SES?

Receiving Capabilities

Amazon Simple Email Service (SES) | Customer Engagement

A

There are no throughput restrictions for incoming email received through Amazon SES.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly