Example Form

Last Updated: 11/6/2024     Tags: unsubscribe, form, form structure
  • Switch Version
  • V5
  • V4

A global unsubscribe form is shown below. On submission of this form, the entered email address will be marked as globally unsubscribed. If the address is not present in the database, the client will be redirected to the error page.

<form name="unsub" method="POST" action="http://edm.taguchimail.com/u/">
        <label for="tm_email">Email address:</label>
        <input type="text" name="email" id="tm_email" value="" />
        <input type="submit" name="submit" value="Unsubscribe &raquo;" />

        <input type="hidden" name="dest" value="http://example.org/unsub-success" />
        <input type="hidden" name="err" value="http://example.org/unsub-error" />

        <!-- Organization ID as shown in TM admin interface -->
        <input type="hidden" name="organization_id" value="1" />