Commit b3f643a6 by Diana Huang

Merge pull request #2371 from edx/diana/linkedin-from

Change the from address for LinkedIn emails
parents 952f7590 5cfb42fc
......@@ -217,7 +217,7 @@ class Command(BaseCommand):
"""
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)
msg = EmailMessage(subject, body, fromaddr, (toaddr,))
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