set ses email content type to utf-8 instead of string (#841)
This commit is contained in:
parent
98907e66e9
commit
e4f5224f42
|
@ -63,12 +63,12 @@ def send_via_ses(subject, body, targets):
|
||||||
Message={
|
Message={
|
||||||
'Subject': {
|
'Subject': {
|
||||||
'Data': subject,
|
'Data': subject,
|
||||||
'Charset': 'string'
|
'Charset': 'UTF-8'
|
||||||
},
|
},
|
||||||
'Body': {
|
'Body': {
|
||||||
'Html': {
|
'Html': {
|
||||||
'Data': body,
|
'Data': body,
|
||||||
'Charset': 'string'
|
'Charset': 'UTF-8'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue