Amazon SES: SMTP interface to send email based on template

0

Hello,

Amazon SES: is is possible to send emails via SMTP interface leveraging SES email templates? If so, I would appreciate some links where I can find more information how to do it. Of course, it is possible to send templated emails using SDK/CLI, the question is how to do it using SMTP interface.

Thanks, Mariusz

AWS
Mariusz
已提問 2 年前檢視次數 762 次
1 個回答
1
已接受的答案

Hi, @Mariusz

You cannot render the template through the SMTP interface.
You need to do send-templated-email through the AWS SDK / AWS API.

However, you can also send the rendered body by SMTP by rendering from the template using test-render-template in the AWS SDK before sending by SMTP.
However, there seems to be a rate limit of one per second.

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ses/test-render-template.html

Alternatively, you can send it to another alternative destination with SES + SMTP as shown below, and convert it to template rendering transmission with AWS SDK by custom processing such as Lambda.

https://dev.classmethod.jp/articles/ses-lambda-mail-transfer/

profile picture
專家
iwasa
已回答 2 年前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南