Skip to content

Commit a7a08c6

Browse files
author
Filip Kula
committed
fix: change sender
1 parent fb149a4 commit a7a08c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

messaging/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from django.conf import settings
33
from django.template.loader import render_to_string
44
from django.utils.html import strip_tags
5+
from StronaProjektyKol.settings import SITE_ADMIN_MAIL
56

67
def send_message_notification_email(message):
78
paper = message.paper
@@ -31,7 +32,7 @@ def send_message_notification_email(message):
3132
send_mail(
3233
subject=subject,
3334
message=plain_message,
34-
from_email=settings.DEFAULT_FROM_EMAIL,
35+
from_email=SITE_ADMIN_MAIL,
3536
recipient_list=[author.email],
3637
html_message=html_message,
3738
fail_silently=False,

0 commit comments

Comments
 (0)