EmailSendingEvent
- class aws_cdk.aws_ses.EmailSendingEvent(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
Email sending event.
Attributes
- BOUNCE
(Hard bounce) The recipient’s mail server permanently rejected the email.
(Soft bounces are only included when SES fails to deliver the email after retrying for a period of time.)
- CLICK
The recipient clicked one or more links in the email.
- COMPLAINT
The email was successfully delivered to the recipient’s mail server, but the recipient marked it as spam.
- DELIVERY
SES successfully delivered the email to the recipient’s mail server.
- DELIVERY_DELAY
The email couldn’t be delivered to the recipient’s mail server because a temporary issue occurred.
Delivery delays can occur, for example, when the recipient’s inbox is full, or when the receiving email server experiences a transient issue.
- OPEN
The recipient received the message and opened it in their email client.
- REJECT
SES accepted the email, but determined that it contained a virus and didn’t attempt to deliver it to the recipient’s mail server.
- RENDERING_FAILURE
The email wasn’t sent because of a template rendering issue.
This event type can occur when template data is missing, or when there is a mismatch between template parameters and data. (This event type only occurs when you send email using the
SendTemplatedEmail
orSendBulkTemplatedEmail
API operations.)
- SEND
The send request was successful and SES will attempt to deliver the message to the recipient’s mail server.
(If account-level or global suppression is being used, SES will still count it as a send, but delivery is suppressed.)
- SUBSCRIPTION
The email was successfully delivered, but the recipient updated their subscription preferences by clicking on an unsubscribe link as part of your subscription management.