We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb149a4 commit a7a08c6Copy full SHA for a7a08c6
messaging/utils.py
@@ -2,6 +2,7 @@
2
from django.conf import settings
3
from django.template.loader import render_to_string
4
from django.utils.html import strip_tags
5
+from StronaProjektyKol.settings import SITE_ADMIN_MAIL
6
7
def send_message_notification_email(message):
8
paper = message.paper
@@ -31,7 +32,7 @@ def send_message_notification_email(message):
31
32
send_mail(
33
subject=subject,
34
message=plain_message,
- from_email=settings.DEFAULT_FROM_EMAIL,
35
+ from_email=SITE_ADMIN_MAIL,
36
recipient_list=[author.email],
37
html_message=html_message,
38
fail_silently=False,
0 commit comments