Saltar al contenido

SES capture sent email body

0

I want to be able to archive all email sent via SES. We have various systems sending email via SESand want to be able to create a archive where each email sent is put so that we can review for each customer (we can index by email address and various custom headers). We currently do it at the individual application level but want to move to the SES layer to make consistent for all services, it also means we can could use templated messages in SES and capture the rendered message.

I have looked through the docs and can't see an event which includes the email body. I would like an event that includes the body so i can persist the email in an apropiate service (eg S3 or opensearch)

thanks

preguntada hace un año220 visualizaciones
1 Respuesta
0

I think what you are looking for is:

https://docs.aws.amazon.com/ses/latest/dg/using-configuration-sets.html

Using configuration sets in Amazon SES

Configuration sets are groups of rules that you can apply to your verified identities. A verified identity is a domain, subdomain, or email address you use to send email through Amazon SES. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.

You can use configuration sets to apply the following types of rules to your email sending and can contain one, both, or neither of these types:

  • Event destinations – Allow you to publish email sending metrics, including the numbers of sends, deliveries, opens, clicks, bounces, and complaints to other AWS products for each email you send. For example, you can send your email metrics to an Amazon Data Firehose destination, and then analyze it using Amazon Managed Service for Apache Flink. Alternatively, you can send bounce and complaint information to Amazon SNS and receive notifications immediately when those events occur.

Hope this helps!

AWS
EXPERTO
respondido hace un año
EXPERTO
revisado hace un año
  • hi Yes i have seen the configuration sets and the event publishing but there is no mention in the events to receive the email body, only metrics around the various events? I want to be able to capture the email body. thanks

  • Is the mail manager -> Email archiving feature applicable, is there a way to configure ses to put emails into an archive automatically?

  • Is the mail manager -> Email archiving feature applicable, is there a way to configure ses to put emails into an archive automatically?

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.