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
feita há 2 anos762 visualizações
1 Resposta
1
Resposta aceita

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
ESPECIALISTA
iwasa
respondido há 2 anos
profile picture
ESPECIALISTA
avaliado há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas