| Subscribing to a Mailman list from any web page |
| Thursday, 27 March 2008 | |
|
It happens quite often that you want people to be able to subscribe to your Mailman mailing list from a web page. It turns out to be quite easy to do this.
The simple solution to this problem is simply to copy some of the elements of the Mailman subscription form. Also, it turns out that you don't need the whole form to get the desired results.
Here's a simple example that works for me:
<FORM Note that the ACTION above should be changed to point to your list. The user must enter his email address into the Email address box, then click on the Subscribe button. The form is posted to the Mailman software which then replies. Unfortunately, Mailman does not provide a convenient link back to the original web site. It does provide some instructions, though, which the user will no-doubt appreciate. Mailman also supports a number of other options that might be useful in some cases. If you look at the mailman subscription page you can produce a form which has lots of options just by copying the essential elements from the Mailman form. Here's an example:
<FORM Note: The above example is modified from a mailing list post that I found using Google. Unfortunately, when I tried to find it again to give proper attribution in this article, Google kept pointing me to Mailman mailing list subscription forms. My thanks to the person who typed that note as it saved me some time. |