Subscribe & Unsubscribe codes

You can easily add a subscription form to your website by using our subscription code generator you can find in the Subscription code menuitem of your Mailing List in the Mailkit Client interface. You can select the following options for your subscribe form:

  • Subscribe page template (syndicate only) - you can use a custom subscribe page as defined in the template. See User Interface Templates for more information.
  • Subscribe mode - select whether you want to use single opt-in (users enter their email only to subscribe) or double opt-in (users will receive an email requesting their confirmation to subscribe) subscribe mode
  • Return URL - you can set the URL where subscribing users will be forwarded to after filling your subscription form.

http://www.mailkit.info/images/stories/doc_images/ml_subscrgen.gif

Example subscription code

The following sample code shows the HTML form for subscribing new users. When placed on your website the users can easily subscribe to your mailing list by entering their email address.

<form action="http://client.mailkit.info/user.fcgi" method="post">

<div>Email:<input type="text" name="email">
<input type="submit" value="Subscribe"></div>

<input type="hidden" name="dml" value="89">
<input type="hidden" name="dt" value="">
<input type="hidden" name="type" value="double">
<input type="hidden" name="return_url" value="http://www.example.com">
<input type="hidden" name="action" value="subscribe">

</form>