In addition to the above, there might be some buggy behaviour. I don't seem to see an error when triggering the email with the emoji in the source email address, nor do I get a rendering failure. Other emails arrive in the test email account and nothing is landing in a spam folder. So, unless I am missing something, it appears this is silently failing.
In order to use an emoji in the sender name, you have to encode it using MIME encoded-word syntax. You can find more information in our documentation at https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html#send-email-mime-encoding-headers.
MIME encoded-word syntax uses the following format:
In your example, you'd use the following as the Source value:
source: "=?utf-8?B?8J+YgA==?= Example Name <email@example.com>"
Breaking this down:
- The 'utf-8' part indicates that we want to use 8-bit Unicode character encoding.
- The 'B' indicates that we're encoding the characters using Base64 (tip: you can use websites such as https://www.base64encode.org/ to quickly Base64 encode your emoji).
- The '8J+YgA==' part is the emoji converted into Base64 format.
Hope this helps. Thanks for using Amazon SES!
Brent @ AWS
Thank you for your answer Brent, it works!
Is it possible to use CloudFront Functions with CloudFormation, and have the source code in an external file?asked 4 months ago
Is it possible to configure SNS email subject and body?asked 3 years ago
is it possible to use JSON Numeric aggregation functions in API gateway mapasked a year ago
Is it possible to craft an identity source that will read the JWT from a cookie?Accepted Answerasked 2 years ago
Is it possible to use a private S3 bucket for an OIDC provider?asked 14 days ago
Is it possible to use emoji in a source email?asked 3 years ago
Is it possible to use AWS GameKit with custom game engines?Accepted Answerasked 5 months ago
Is it possible to use an mp3 or wav file as a source file in aws media package ?asked 3 months ago
Is it possible to create a workmail "catch-all" accountasked 2 months ago
How to use codecommit submodules in CodeBuildasked 6 months ago