aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2017-06-17 23:23:42 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2017-06-17 23:23:42 +0200
commit5f32d3700080425c45b196641f81389ab67b3695 (patch)
tree36c92245b0691e4bee489cf8ae367c42e416b0cd /src
parentCloses #33. (diff)
downloadnewspipe-5f32d3700080425c45b196641f81389ab67b3695.tar.gz
newspipe-5f32d3700080425c45b196641f81389ab67b3695.tar.bz2
newspipe-5f32d3700080425c45b196641f81389ab67b3695.zip
Get the 'from email' address via the configuration module.
Diffstat (limited to 'src')
-rw-r--r--src/notifications/emails.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notifications/emails.py b/src/notifications/emails.py
index 0ae6519a..1546041c 100644
--- a/src/notifications/emails.py
+++ b/src/notifications/emails.py
@@ -116,7 +116,7 @@ def send_sendgrid(to="", bcc="", subject="", plaintext=""):
sg = sendgrid.SendGridAPIClient(apikey=conf.SENDGRID_API_KEY)
mail = Mail()
- mail.from_email = Email('info@newspipe.org')
+ mail.from_email = Email(conf.NOTIFICATION_EMAIL)
mail.subject = subject
mail.add_content(Content('text/plain', plaintext))
bgstack15