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

Change the from address for LinkedIn emails
This commit is contained in:
Diana Huang
2014-01-30 09:49:05 -08:00

View File

@@ -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"