diff options
| author | bwarsaw | 2001-12-19 07:01:06 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-12-19 07:01:06 +0000 |
| commit | dd60f2ecbe558000268076a9de4eb474d365a0a5 (patch) | |
| tree | 6fb406dda025aa7ac777bbe2510f6acaf385afd0 | |
| parent | b06dea4a65eb4263b90915f09ee15d869a172789 (diff) | |
| download | mailman-dd60f2ecbe558000268076a9de4eb474d365a0a5.tar.gz mailman-dd60f2ecbe558000268076a9de4eb474d365a0a5.tar.zst mailman-dd60f2ecbe558000268076a9de4eb474d365a0a5.zip | |
| -rw-r--r-- | Mailman/Handlers/CalcRecips.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Handlers/CalcRecips.py b/Mailman/Handlers/CalcRecips.py index 1dcd75c67..7e606f90d 100644 --- a/Mailman/Handlers/CalcRecips.py +++ b/Mailman/Handlers/CalcRecips.py @@ -26,6 +26,7 @@ from Mailman import mm_cfg from Mailman import Utils from Mailman import Message from Mailman import Errors +from Mailman.MemberAdaptor import ENABLED from Mailman.i18n import _ from Mailman.Logging.Syslog import syslog @@ -72,7 +73,7 @@ delivery. The original message as received by Mailman is attached. # Calculate the regular recipients of the message recips = [mlist.getMemberCPAddress(m) for m in mlist.getRegularMemberKeys() - if not mlist.getMemberOption(m, mm_cfg.DisableDelivery)] + if mlist.getDeliveryStatus(m) == ENABLED] # Remove the sender if they don't want to receive their own posts if not include_sender: try: |
