Mailman Mailing Lists at UNH
Recipe R02 looks at how to create a self-subscription link on your organization's web page.
Add a web link that takes advantage of your list's special subscription request email address.
<a href="mailto:firstname.lastname@example.org?subject=Subscription Request..."> Request a subscription to the My.List demo mailing list.</a>This should automatically bring up your vistor's own email program with a subscription request ready to send to the Mailman robot.
Add a link that points to your Mailman list's own home page which has a self-subscription request form.
Our organization's <a href="https://lists.unh.edu/mailman/listinfo/my.list" target="_blank"> mailing list home page</a>.The example above uses the "
target" option to open the page in a new window or tab.
Embed a subscription form right on your own page. Here is
that you are welcome to steal. Just don't forget to replace
My.List" and "
my.list" with your
actual list's name.
Request a subscription to the My.List demo mailing list.
Our organization's mailing list home page
HTML example page illustrating how to create your own custom subscription request form.
Mailman provides three methods for people to request to be added or removed from your mailing list:
Provide a link that uses a "mailto" to your list's
-join" or "
address. For most vistors, this will bring up their email
program with a message ready to send to the robot. While this
has the advantage of automatically providing the vistor's
return address, it may be confusing to some.
Provide a link to your list's own home page. There your visitor can use form provided. This approach provides the subscriber with everything they need to know about subscribing and unsubscribing from your list.
Using the special subscribe URL for your list to submit the subscription data directly to Mailman. This will require you to do some basic HTML web form coding on your page, but it allows you to provide a clearly branded experience for your visitors.
Note that we have been using the term subscription request. The default setting for all lists when they are initially created is to require that the visitor confirm their request by replying to an automatically generated email, and then the list owner's final approval before being added to the list. (See List Owner List Owner Q-09: for how to change this setting.)
One of the problems with asking a would be subscriber to supply their own email address is that the address provided will most likely work for successfully delivering mail, but it may not be the subscriber's actual return address. For example, Fred may customarily give out his email address as:
email@example.com is an address that will certainly reach him. But any email sent by Fred has his corporate preferred email address format as his return address:
Fred.Flintstone@BedrockSandAndGravel.comFor a discussion list, Fred will become aware of the problem the first time he attempts to post. Mailman will not recognize the sender
Fred.Flintstone, as being the subscriber
fredf, and will summarily reject his posting.
In contrast, for an announcement list where subscribers do not make
postings, this mismatch will go unnoticed since the
fredf address works just fine for delivery. But when
Fred eventually wants to sign-off the list, he'll have problems.
Mailman will take Fred's return address from his unsubscribe email
message and, not finding it on the list, unhelpfully tell him that
he is not subscribed to the list at all. Fred will be very
Bottom line, the subscription web form on your list's home page
uses the email address provided by the subscriber, even if the return
address on the confirmation email is different. In contrast the
mailto link uses the return address of the subscriber's
own email client, not that this method is not without its own
There is no guarantee that the user's email client necessarily has the return address set correctly either.
This method is not appropriate if the would be subscriber is not using their own computer or is using a device that doesn't have a configured email client.
The visitor may be confused by having their email program suddenly appear and it may be unclear that they need to press the send button to complete the request.