mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 03:58:39 +02:00
Fixes from manual testing email sending
This commit is contained in:
parent
d0e9cfce10
commit
a314b905d3
3 changed files with 8 additions and 3 deletions
|
@ -26,7 +26,9 @@ def send_templated_email(template_name: str, to_address: str, context={}):
|
|||
FromEmailAddress=settings.DEFAULT_FROM_EMAIL,
|
||||
Destination={"ToAddresses": [to_address]},
|
||||
Content={
|
||||
"Subject": {"Data": "Thank you for applying for a .gov domain"},
|
||||
"Body": {"Text": {"Data": email_body}},
|
||||
"Simple": {
|
||||
"Subject": {"Data": "Thank you for applying for a .gov domain"},
|
||||
"Body": {"Text": {"Data": email_body}},
|
||||
},
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue