What's new

Tutorial Html auto subscibe and unsubscribe...

cyrex3000

Journeyman
Joined
Apr 15, 2022
Posts
24
Reaction
18
Points
27
Basic HTML form

If you want to put a form on your website which allows someone to subscribe to a riseup.net list, here is a simple HTML snippet which will do the job:

<FORM ACTION="You do not have permission to view the full content of this post. Log in or register now." METHOD="POST">
<B>Email:</B>
<INPUT NAME="email" SIZE="30">
<INPUT TYPE="hidden" NAME="list" VALUE="listname">
<INPUT TYPE="hidden" NAME="action" VALUE="subrequest">
<INPUT TYPE="submit" NAME="action_subrequest" VALUE="Subscribe">
</FORM>

NOTE: replace listname with the name of your list. For example, if your list was anarchism101@lists.riseup.net, replace listname with anarchism101. Also, the action must be use SSL (ie ) for the form to work.

Here is an example unsubscribe form:

<FORM ACTION="You do not have permission to view the full content of this post. Log in or register now." METHOD="POST">
<B>Email:</B>
<INPUT NAME="email" SIZE="30">
<INPUT TYPE="hidden" NAME="list" VALUE="listname">
<INPUT TYPE="hidden" NAME="action" VALUE="sigrequest">
<INPUT TYPE="submit" NAME="action_sigrequest" VALUE="Unsubscribe">
</FORM>

 

Similar threads

Back
Top