commit | d059dc989102c74a00ac151095d30f5aa15731d7 | [log] [tgz] |
---|---|---|
author | Daniel Gruno <humbedooh@apache.org> | Wed Feb 01 17:26:33 2023 +0100 |
committer | GitHub <noreply@github.com> | Wed Feb 01 17:26:33 2023 +0100 |
tree | ff7169d1653d0a08f9b45f1667d554c01157035c | |
parent | 92f44ba73895e2045b6961e5136059b96314c458 [diff] |
NR: Quote sender name in case it's not atom-compliant (RFC5322)
diff --git a/notifier.py b/notifier.py index 256934e..66959bf 100644 --- a/notifier.py +++ b/notifier.py
@@ -276,7 +276,7 @@ if SEND_EMAIL: recipient = ml asfpy.messaging.mail( - sender=f"{user} (via GitHub) <git@apache.org>", + sender=f"\"{user} (via GitHub)\" <git@apache.org>", recipient=recipient, subject=subject_line, message=real_text,