Nathan K. Stazewski wrote:

>I have created a web interface for our listservs.  I have it completely
>working except that when someone subscribes themselves I don't want them to
>have to assign themselves a password but I do want them to be able to select
>digest or nodigest.  I tried the following e-mail command, but it always
>sets their password to "digest" (or "nodigest" if they pick that option) and
>doesn't actually set their digest preference.
>
> 
>
>subscribe digest
>
>end
>
> 
>
>Is there some way to signify that "digest" or "nodigest" is the option and
>not a password?  

I have looked at the code and contrary to the implication of the
documentation, the <password> and (no)digest options are positional.
Since you are creating the mail from a web page, you can use the
address= option to put the (no)digest option in the right place. E.g.

subscribe [EMAIL PROTECTED] digest

will work, but it will not allow specification of the real name.

At the very least, the command in the documentation should be revised to

subscribe [password [digest|nodigest]] [address=<address>]

The real solution is to change the code to make digest non positional
as in

subscribe [password] [digest=yes|no] [address=<address>]

--
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to