Unsubscribe Using Web Form

Hi Mark,
We are making good progress on our project thanks to your help a couple of weeks ago. The Subscribe portion of the process is working and the text is being translated into Chinese.
I'm struggling with the Unsubscribe portion of the project. I extended the webform but can't get it to work. My goal is for our users to use the same web page to subscribe to and unsubscribe from the list with a minimum number of interactions. I understand the need for the two stage subscription process with email confirmation -- this is required (and working). I would like the Unsubscribe to be one click and done.
http://www.raystedman.org/daily-devotions/chinese-subscription
Please note the user has no idea they have a system generated password -- this is as it should be to keep things simple. Most of our users are older and only have the skills to deal with minimal user complexity. We need to keep things simple as a result.
Thanks in advance for your help, Greg
PS. I looked at the Drupal extension for Mailman. It carries too much overhead for large size lists. We already have a mailman list with 10,000 users and hope to double this number next year. We can't afford to have a Drupal user account for each of these users.

On 11/06/2014 09:42 AM, Greg Sims wrote:
I'm struggling with the Unsubscribe portion of the project. I extended the webform but can't get it to work. My goal is for our users to use the same web page to subscribe to and unsubscribe from the list with a minimum number of interactions. I understand the need for the two stage subscription process with email confirmation -- this is required (and working). I would like the Unsubscribe to be one click and done.
http://www.raystedman.org/daily-devotions/chinese-subscription
If you want immediate unsubscribe without confirmation, you need to provide either the user's list password or the list admin password as the value of the 'password' item in the form data.
Given what you are doing, you could just add
<input type="hidden" name="password" value="the_list_admin_password">
to the form, but this is a really bad idea as anyone can do what I did and see this in the source of the page which exposes the list admin password to the world.
A better idea is to post just the email address to your own script which if invoked directly just displays some 'result' HTML and have that script post to the options page or post to a list admin page to do the unsubscribe. That way, you script can know the list admin password without exposing it.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

I have been slowly working on a somewhat similar project. My thoughts on unsubscribing is to have the module know the admin password for the site, and use that to post into the mailman admin web form an unsubscribe request via curl.
On 11/6/14, 12:42 PM, Greg Sims wrote:
Hi Mark,
We are making good progress on our project thanks to your help a couple of weeks ago. The Subscribe portion of the process is working and the text is being translated into Chinese.
I'm struggling with the Unsubscribe portion of the project. I extended the webform but can't get it to work. My goal is for our users to use the same web page to subscribe to and unsubscribe from the list with a minimum number of interactions. I understand the need for the two stage subscription process with email confirmation -- this is required (and working). I would like the Unsubscribe to be one click and done.
http://www.raystedman.org/daily-devotions/chinese-subscription
Please note the user has no idea they have a system generated password -- this is as it should be to keep things simple. Most of our users are older and only have the skills to deal with minimal user complexity. We need to keep things simple as a result.
Thanks in advance for your help, Greg
PS. I looked at the Drupal extension for Mailman. It carries too much overhead for large size lists. We already have a mailman list with 10,000 users and hope to double this number next year. We can't afford to have a Drupal user account for each of these users.
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/richard%40damon-family...
-- Richard Damon
participants (3)
-
Greg Sims
-
Mark Sapiro
-
Richard Damon