snapshot: preserve extended branding layer and branding UI polish
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from django.conf import settings
|
||||
from django.core.mail import EmailMessage, get_connection
|
||||
|
||||
from .branding import get_branded_from_email
|
||||
from .models import SystemEmailConfig, WorkflowConfig
|
||||
|
||||
|
||||
@@ -66,7 +67,7 @@ def send_system_email(
|
||||
msg = EmailMessage(
|
||||
subject=subject,
|
||||
body=body,
|
||||
from_email=(from_email or smtp['from_email']),
|
||||
from_email=get_branded_from_email(from_email or smtp['from_email']) or (from_email or smtp['from_email']),
|
||||
to=to,
|
||||
connection=connection,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user