Skip to content

Commit

Permalink
Merge pull request #623 from hms-dbmi/DBMISVC-99
Browse files Browse the repository at this point in the history
DBMISVC-99 - Fixed bug in setting reply-to address
  • Loading branch information
b32147 authored Sep 12, 2023
2 parents a23e028 + 20aaaf2 commit 9a86750
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/contact/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def email_send(subject=None, recipients=None, email_template=None, extra=None):
msg = EmailMultiAlternatives(subject=subject,
body=msg_plain,
from_email=settings.EMAIL_FROM_ADDRESS,
reply_to=settings.EMAIL_REPLY_TO_ADDRESS,
reply_to=(settings.EMAIL_REPLY_TO_ADDRESS, ),
to=recipients)
msg.attach_alternative(msg_html, "text/html")
msg.send()
Expand Down
2 changes: 1 addition & 1 deletion app/manage/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def team_notification(request, project_key=None):
msg = EmailMultiAlternatives(subject=subject,
body=msg_plain,
from_email=settings.EMAIL_FROM_ADDRESS,
reply_to=settings.EMAIL_REPLY_TO_ADDRESS,
reply_to=(settings.EMAIL_REPLY_TO_ADDRESS, ),
to=[team.team_leader.email])
msg.attach_alternative(msg_html, "text/html")
msg.send()
Expand Down

0 comments on commit 9a86750

Please sign in to comment.