]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/utils.py
notifications: Add NOTIFICATION_FROM_EMAIL setting
[patchwork] / apps / patchwork / utils.py
index 94b3f53851613fdf244cf607e8df0892034ec76e..58edb194564f1f4167dbac2e338629ce61f90f5e 100644 (file)
@@ -181,7 +181,7 @@ def send_notifications():
                                 context)
 
         message = EmailMessage(subject = subject, body = content,
-                               from_email = settings.DEFAULT_FROM_EMAIL,
+                               from_email = settings.NOTIFICATION_FROM_EMAIL,
                                to = [recipient.email],
                                headers = {'Precedence': 'bulk'})