MAILOMATIC USER INTERFACE HELP
Author: Arwana

MAILOMATIC USER INTERFACE

By user interface, we mean the 'form' you will need to build so that your visitors can join your mail list/s. We have constructed a sample page and included it with the distribution (mom.html). This, however, is a full page - which you don't really need. Most people will want to 'embed' the 'form' in an existing page ( it is what we have been doing). The following code fragment is the bare bones html that you can cut and paste into your page:

<form action="http://www.mydomain.com.au/cgi-bin/mailomatic.pl" method=GET>Your email address:<input type="text" name="emailaddress" size=20>
<input type="radio" name="emailtype"><option value="on">Html?</option>
<input name=" " type="submit" value="SUBSCRIBE">

which will look like this: Your email address:Html?

You will need to change the url to point it to your site. If you want to have one list only (that is, not give the choice of a html or text list), a simple way is to hard code it here. That is change the line:
<input type="radio" name="emailtype"><option value="on">Html?</option>
to read something like this: <input type="hidden" name="emailtype" value="on">
This will always enter the address into the html list.
Conversely: <input type="hidden" name="emailtype" value="off">
will always enter the address into the text list.

This code can be inserted anywhere in your site - just make sure the mailomatic.pl url is correct and (preferably) point the return address in the script to that page.