summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/Handlers/SMTPDirect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/SMTPDirect.py b/Mailman/Handlers/SMTPDirect.py
index ff4a72a71..4d4cf9b3e 100644
--- a/Mailman/Handlers/SMTPDirect.py
+++ b/Mailman/Handlers/SMTPDirect.py
@@ -280,7 +280,7 @@ def verpdeliver(mlist, msg, msgdata, envsender, failures, conn):
del msgcopy['to']
if mlist.isMember(recip):
name = mlist.getMemberName(recip)
- msgcopy['To'] = email.Utils.dump_address_pair((name, recip))
+ msgcopy['To'] = email.Utils.formataddr((name, recip))
else:
msgcopy['To'] = recip
# We can flag the mail as a duplicate for each member, if they've