diff options
| author | Barry Warsaw | 2009-01-05 00:54:19 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-05 00:54:19 -0500 |
| commit | 37c255b7b0c1b8ea10c8d24a44c8586de86ffcc6 (patch) | |
| tree | f2225cf1049360298cdaca89b6ca4458b6af3bcc /mailman/app/notifications.py | |
| parent | f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7 (diff) | |
| download | mailman-37c255b7b0c1b8ea10c8d24a44c8586de86ffcc6.tar.gz mailman-37c255b7b0c1b8ea10c8d24a44c8586de86ffcc6.tar.zst mailman-37c255b7b0c1b8ea10c8d24a44c8586de86ffcc6.zip | |
Diffstat (limited to 'mailman/app/notifications.py')
| -rw-r--r-- | mailman/app/notifications.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mailman/app/notifications.py b/mailman/app/notifications.py index 62c9964c0..5d4b4572d 100644 --- a/mailman/app/notifications.py +++ b/mailman/app/notifications.py @@ -26,8 +26,8 @@ __all__ = [ from email.utils import formataddr +from lazr.config import as_boolean -from mailman import Defaults from mailman import Message from mailman import Utils from mailman import i18n @@ -79,7 +79,7 @@ def send_welcome_message(mlist, address, language, delivery_mode, text=''): _('Welcome to the "$mlist.real_name" mailing list${digmode}'), text, language) msg['X-No-Archive'] = 'yes' - msg.send(mlist, verp=Defaults.VERP_PERSONALIZED_DELIVERIES) + msg.send(mlist, verp=as_boolean(config.mta.verp_personalized_deliveries)) @@ -104,7 +104,7 @@ def send_goodbye_message(mlist, address, language): address, mlist.bounces_address, _('You have been unsubscribed from the $mlist.real_name mailing list'), goodbye, language) - msg.send(mlist, verp=Defaults.VERP_PERSONALIZED_DELIVERIES) + msg.send(mlist, verp=as_boolean(config.mta.verp_personalized_deliveries)) |
