Commit 5cfb42fc by Diana Huang

Change the from address for LinkedIn emails

parent 43b4cd40
...@@ -217,7 +217,7 @@ class Command(BaseCommand): ...@@ -217,7 +217,7 @@ class Command(BaseCommand):
""" """
Send an email. Return True if it succeeded, False if it didn't. Send an email. Return True if it succeeded, False if it didn't.
""" """
fromaddr = settings.DEFAULT_FROM_EMAIL fromaddr = u'no-reply@notifier.edx.org'
toaddr = u'{} <{}>'.format(user.profile.name, user.email) toaddr = u'{} <{}>'.format(user.profile.name, user.email)
msg = EmailMessage(subject, body, fromaddr, (toaddr,)) msg = EmailMessage(subject, body, fromaddr, (toaddr,))
msg.content_subtype = "html" msg.content_subtype = "html"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment