Skip to content

Email address of the recipients

0

I would like to know how it is possible to have a list with the email address of the recipients, whilst using Amazon SES API in our App (for example when a user registers in the APP and Amazon sends her/him an email). Thanks

asked 3 years ago409 views
2 Answers
0

Using Python Boto3 SDK, make use of send_email() or send_raw_email() API calls and pass the mail as list of email addresses. Below is a code snippet for reference: response = client.send_raw_email( Source=SENDER, Destinations=RECIPIENT, RawMessage={ 'Data':msg.as_string(), }, ) Reference link: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ses.html

answered 3 years ago
0

1000 Thanks

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.