summaryrefslogtreecommitdiff
path: root/src/mailman/mta/personalized.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/mta/personalized.py')
-rw-r--r--src/mailman/mta/personalized.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/mta/personalized.py b/src/mailman/mta/personalized.py
index a0b0d4b76..cebc73cae 100644
--- a/src/mailman/mta/personalized.py
+++ b/src/mailman/mta/personalized.py
@@ -63,7 +63,7 @@ class PersonalizedMixin:
# Convert the unicode name to an email-safe representation.
# Create a Header instance for the name so that it's properly
# encoded for email transport.
- name = Header(user.real_name).encode()
+ name = Header(user.display_name).encode()
msg.replace_header('To', formataddr((name, recipient)))