aws ses create email address code example
Example 1: ses mail name
from: John Doe
Example 2: aws ses email template
{
"Source": "[email protected]",
"Template": "MyTemplate",
"Destination": {
"ToAddresses": [ "[email protected]" ]
},
"TemplateData": "{ \"name\":\"Alejandro\", \"favoriteanimal\": \"zebra\" }"
}
Example 3: aws ses email template
{
"Template": {
"TemplateName": "MyTemplate",
"SubjectPart": "Greetings, {{name}}!",
"TextPart": "Dear {{name}},\r\nYour favorite animal is {{favoriteanimal}}.",
"HtmlPart": "Hello {{name}}
Your favorite animal is {{favoriteanimal}}.
"
}
}