mirror of
https://github.com/simple-login/app.git
synced 2024-09-27 20:31:30 +02:00
Merge pull request #60 from SibrenVasse/master
Hide seperator from 'from header' if no name present
This commit is contained in:
commit
4d7cd74190
@ -241,7 +241,7 @@ class MailHandler:
|
||||
# replace the email part in from: header
|
||||
from_header = (
|
||||
get_email_name(msg["From"])
|
||||
+ " - "
|
||||
+ ("" if get_email_name(msg["From"]) == "" else " - ")
|
||||
+ website_email.replace("@", " at ")
|
||||
+ f" <{forward_email.reply_email}>"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user