diff options
| author | klm | 1998-03-29 03:56:52 +0000 |
|---|---|---|
| committer | klm | 1998-03-29 03:56:52 +0000 |
| commit | 01682a82d97143203eb2e593fced13600e3708f4 (patch) | |
| tree | 2b8791598473d0b3316540638a9ef2bb4d2c712e /cgi/subscribe | |
| parent | 19b596f19ea0ab9cfbc7b7c46283df577815ee30 (diff) | |
| download | mailman-01682a82d97143203eb2e593fced13600e3708f4.tar.gz mailman-01682a82d97143203eb2e593fced13600e3708f4.tar.zst mailman-01682a82d97143203eb2e593fced13600e3708f4.zip | |
Add digest specifier to subscribe command text when subscriber
selected digest from the web page. (This goes along with untangling
in maillist.py that fixed problem where digest subscriptions were
accepted from web, despite WebSubscribeRequiresConfirmation being
set. Should have mentioned this in that checkin , but oh well.)
Diffstat (limited to 'cgi/subscribe')
| -rwxr-xr-x | cgi/subscribe | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cgi/subscribe b/cgi/subscribe index f521687fd..a7ef48dd9 100755 --- a/cgi/subscribe +++ b/cgi/subscribe @@ -13,7 +13,7 @@ you against your wishes. In order to complete this subscription you must send a confirming email, to %s, by repling to this mail, and including just the line: -subscribe %s +subscribe %s%s in the body or as the subject line. If you do not actually wish to subscribe you need not do anything. Upon subscribing you will receive @@ -139,6 +139,10 @@ else: remote = " from %s." % os.environ['REMOTE_ADDR'] else: remote = "." + if digest: + digesting = " digest" + else: + digesting = "" list.SendTextToUser(subject = 'Subscribing to %s' % list.real_name, recipient = email, sender = list.GetRequestEmail(), @@ -147,7 +151,8 @@ else: list.host_name, remote, list.GetRequestEmail(), - pw)), + pw, + digesting)), errorsto = list.GetAdminEmail()) except mm_err.MMBadEmailError: results = results + ("Mailman won't accept the given email " |
