Web-based Mailing List Subscription Forms

You may wish to allow users to subscribe to one of your mailing lists. To do so, create a form that submits to "/cgi-world/mail-subscribe.pl".

Required Parameters

clientemailThe visitor-specified email address to be subscribed to the list. This should be a "text" input field.
listemailThe list subscription address. Generally, this is the name of the list followed by the string "-subscribe", the character "@" and the domain name.

E.g., for a mailing list named "newsletter" at "example.com", "listemail" would be "newsletter-subscribe@example.com". This should be a "hidden" input field.

Optional Parameter

success_url If this parameter is present, the subscriber will be redirected to the URL given as the parameter's value after the form is submitted (see below for an example).

Example (using optional success_url parameter):

<form action="/cgi-world/mail-subscribe.pl" method=post>
<h3>subscribe</h3>
email address: <input type="text" name="clientemail">
<input type="hidden" name="listemail" value="newsletter-subscribe@example.com">
<input type="hidden" name="success_url" value="http://www.example.com/list/success.html">
<input type="submit">
</form>


Return to Support Index