fix: Change email sender display name to "Norda Biznes Hub"
Previously showed "InPi Notifications" which was confusing. Now emails will display as "Norda Biznes Hub <noreply@inpi.pl>" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
a09203ef55
commit
c1874b73e6
@ -131,6 +131,9 @@ class EmailService:
|
|||||||
content = body_text
|
content = body_text
|
||||||
|
|
||||||
# Build email message
|
# Build email message
|
||||||
|
# Display name for sender - shown in email clients
|
||||||
|
sender_display_name = "Norda Biznes Hub"
|
||||||
|
|
||||||
email_msg = {
|
email_msg = {
|
||||||
"message": {
|
"message": {
|
||||||
"subject": subject,
|
"subject": subject,
|
||||||
@ -141,7 +144,8 @@ class EmailService:
|
|||||||
"toRecipients": recipients,
|
"toRecipients": recipients,
|
||||||
"from": {
|
"from": {
|
||||||
"emailAddress": {
|
"emailAddress": {
|
||||||
"address": sender
|
"address": sender,
|
||||||
|
"name": sender_display_name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user