Using boto3's send_email I can easily set up custom reply-to addresses with ReplyToAddresses. But how do I achieve the same behaviour with send_raw_email?
Simple send_email example:
import boto3
client = boto3.client('ses')
client.send_email(**{
'Source': "john@smith.com",
'Destination': {
'ToAddresses': ["friend.of.johns@smith.com"],
},
'Message': {
'Subject': {'Data': "Hello!"},
'Body': {
'Text': {'Data': "How are you?"},
},
},
'ReplyToAddresses': ['another.john@smith.com']
})
What would this look like with send_raw_email (in particular ReplyToAddresses)?