diff options
| -rw-r--r-- | Mailman/Handlers/SMTPDirect.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Handlers/SMTPDirect.py b/Mailman/Handlers/SMTPDirect.py index 5e39faa67..fd283e713 100644 --- a/Mailman/Handlers/SMTPDirect.py +++ b/Mailman/Handlers/SMTPDirect.py @@ -44,7 +44,9 @@ def process(mlist, msg): refused = conn.sendmail(msg.GetSender(), msg.recips, str(msg)) finally: t1 = time.time() - mlist.LogMsg('smtp', 'smtp completed in %.3f seconds' % (t1-t0)) + mlist.LogMsg('smtp', + 'smtp for %d recips, completed in %.3f seconds' % + (len(msg.recips), (t1-t0))) conn.quit() except smtplib.SMTPRecipientsRefused, e: refused = e.recipients |
