summaryrefslogtreecommitdiff
path: root/src/mailman/mta/docs/bulk.txt
diff options
context:
space:
mode:
authorBarry Warsaw2009-10-31 15:23:14 -0400
committerBarry Warsaw2009-10-31 15:23:14 -0400
commit4f2ca4cb900ab891ebbbec56bd30b737304a3da7 (patch)
treeba7b5fb7b8b96c88705ccdedc5ab29e8e3b90286 /src/mailman/mta/docs/bulk.txt
parent6ec26d074d923fa83b65b96c4904459d777781f9 (diff)
downloadmailman-4f2ca4cb900ab891ebbbec56bd30b737304a3da7.tar.gz
mailman-4f2ca4cb900ab891ebbbec56bd30b737304a3da7.tar.zst
mailman-4f2ca4cb900ab891ebbbec56bd30b737304a3da7.zip
Copy slightly modified code from smtp_direct.py for handling low level error.
Sadly, punting on tests for this for now.
Diffstat (limited to 'src/mailman/mta/docs/bulk.txt')
-rw-r--r--src/mailman/mta/docs/bulk.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mailman/mta/docs/bulk.txt b/src/mailman/mta/docs/bulk.txt
index bcce7e4c7..f1533ffe8 100644
--- a/src/mailman/mta/docs/bulk.txt
+++ b/src/mailman/mta/docs/bulk.txt
@@ -129,7 +129,7 @@ The next chunk will contain the .us (2) and .ca (1) domains.
The final chunk will contain the outliers, .xx (1) and .zz (2).
>>> len(chunks[5])
- 2
+ 2
>>> for address in sorted(chunks[5]):
... print address
paco@example.xx
@@ -397,3 +397,5 @@ Or there could be some other problem causing an SMTP response failure.
aperson@example.org 500 Error: SMTPResponseException
bperson@example.org 500 Error: SMTPResponseException
cperson@example.org 500 Error: SMTPResponseException
+
+XXX Untested: socket.error, IOError, smtplib.SMTPException.