Skip to content

Commit

Permalink
Merge pull request #17 from sumesh-aot/online_appointment
Browse files Browse the repository at this point in the history
Changes for email service and job
  • Loading branch information
sumesh-aot authored Apr 30, 2020
2 parents 67bcb31 + 2b37a15 commit 71ad6c0
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 71ad6c0

Please sign in to comment.