Skip to content

Commit

Permalink
Changes for email service and job
Browse files Browse the repository at this point in the history
  • Loading branch information
sumesh-aot committed Apr 30, 2020
1 parent a65e52e commit 2b37a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/utilities/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def run_job():
print('recipients : ', email)
print('html_body : ', html_body)

msg = Message(subject, sender=sender, recipients=email)
msg = Message(subject, sender=sender, recipients=email.split())
msg.html = html_body
mail.send(msg)

Expand Down

0 comments on commit 2b37a15

Please sign in to comment.