Created
April 26, 2022 22:40
-
-
Save mxro/fef65b619403feca57b579f6f7296402 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await ses | |
.sendEmail({ | |
Destination: { ToAddresses: ['test@test.com'] }, | |
Message: { | |
Subject: { Charset: 'UTF-8', Data: 'Test email' }, | |
Body: { | |
Text: { | |
Charset: 'UTF-8', | |
Data: 'This is the message body in text format.', | |
}, | |
}, | |
}, | |
Source: 'sender@mydomain.com', | |
}) | |
.promise(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment