summaryrefslogtreecommitdiff
path: root/Mailman/Utils.py
diff options
context:
space:
mode:
authorviega1998-07-20 22:23:20 +0000
committerviega1998-07-20 22:23:20 +0000
commit131feefc51990bb0280a3164d1c987b3d9bba79f (patch)
treea2776dc8ef35e7a5cfcb52b0521807042e368122 /Mailman/Utils.py
parent28aec5d67fa82527bbff4667ee491f86d4c308d3 (diff)
downloadmailman-131feefc51990bb0280a3164d1c987b3d9bba79f.tar.gz
mailman-131feefc51990bb0280a3164d1c987b3d9bba79f.tar.zst
mailman-131feefc51990bb0280a3164d1c987b3d9bba79f.zip
Whoops, there was another call to smtplib that needed the indirection.
Diffstat (limited to 'Mailman/Utils.py')
-rw-r--r--Mailman/Utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py
index ff927a5c8..4d73e8751 100644
--- a/Mailman/Utils.py
+++ b/Mailman/Utils.py
@@ -179,7 +179,7 @@ def DeliverToUser(msg, recipient, add_headers=[]):
text = string.join(msg.headers, '')+ '\n'+ QuotePeriods(msg.body)
import OutgoingQueue
- OutgoingQueue.enqueueMessage(sender, recipient, text)
+ queue_id = OutgoingQueue.enqueueMessage(sender, recipient, text)
TrySMTPDelivery(recipient,sender,text,queue_id)
# Just in case there's still something waiting to be sent...
OutgoingQueue.processQueue()