set ses email content type to utf-8 instead of string (#841)

This commit is contained in:
Ian Stahnke 2017-06-29 02:44:19 +10:00 committed by kevgliss
parent 98907e66e9
commit e4f5224f42

View File

@ -63,12 +63,12 @@ def send_via_ses(subject, body, targets):
Message={
'Subject': {
'Data': subject,
'Charset': 'string'
'Charset': 'UTF-8'
},
'Body': {
'Html': {
'Data': body,
'Charset': 'string'
'Charset': 'UTF-8'
}
}
}