-
Describe the IssueI wanted to track the email open and click events, but I encountered a failure. I used the "Send test email" button on AWS to send an email, and it worked:
However, when using the following boto3 code, it does not include a tracking pixel. Code
EnvironmentsMacOS 11.6 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The tracking pixel is HTML email content. Therefore your Detailed docs for the request syntax are here: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ses/client/send_email.html |
Beta Was this translation helpful? Give feedback.
I only have passing experience with SES myself, but my understanding is that the tracking pixel gets inserted automatically for you (assuming your SES configuration set has the tracking pixel setting enabled).
However, note that tracking pixels are, by definition, HTML and can only exist in emails with HTML content. Please try sending an email with any HTML content and check if the tracking pixel is present. Your code snippet above sends an email with text content only and no HTML content.