Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2008-08-14 11:31:57
Size: 1673
Editor: msapiro
Comment: Converted &lt; and &gt; to < and >. Removed extra {noformat} lines.
Revision 4 as of 2010-09-21 13:04:38
Size: 1729
Editor: msapiro
Comment: Added note about list name and action URL.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/5865498 #pragma page-filename DOC/versions/14352561
Line 3: Line 3:
Cut and paste the code below into the HTML of your web page. Cut and paste the code below into the HTML of your web page. Replace XYZ with the name of your list and adjust the action= URL as required for your mailman installation.
Line 9: Line 9:
 <form method="post" action=
 
"http://example.org/mailman/subscribe/XYZ">

<form method="post" action="http://example.org/mailman/subscribe/XYZ">
Line 13: Line 13:
Line 21: Line 22:
Line 23: Line 25:
Line 27: Line 30:
Line 32: Line 36:
''Last changed on Mon Feb 11 05:16:27 2008 by'' Mark Sapiro

4.33. How do I put a subscribe form for my list on a web page?

Cut and paste the code below into the HTML of your web page. Replace XYZ with the name of your list and adjust the action= URL as required for your mailman installation.

The only required parts of this form are the email text box and the submit button - edit or remove the others as you like.

 <h2>Join the XYZ list</h2>

 <form method="post" action="http://example.org/mailman/subscribe/XYZ">
  Your E-mail address: <input name="email"> Your Name (optional):
  <input name="fullname">

  <p>You may enter a privacy password below. This provides only
  mild security, but should prevent others from messing with your
  subscription. <strong>Do not use a valuable password</strong> as
  it will occasionally be emailed back to you in cleartext. If you
  choose not to enter a password, one will be automatically
  generated for you, and it will be sent to you once you've
  confirmed your subscription. You can always request a mail-back
  of your password when you edit your personal options.</p>

  <p>Password choice: <input type="password" name="pw"> Confirm
  Password: <input type="password" name="pw-conf"></p>

  <p>Would you like to receive list mail batched in a daily digest?
  (You may choose NoMail after you join.) <input type="radio" name=
  "digest" value="0" checked> No <input type="radio" name="digest"
  value="1"> Yes</p>

  <p><input type="submit" name="email-button" value=
  "Subscribe"></p>
  </form>

Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.

MailmanWiki: DOC/4.33 How do I put a subscribe form for my list on a web page? (last edited 2012-11-24 15:05:23 by msapiro)