November 23, 2005

CommuniGate Pro List Subscription Frontend


Recently, over on the CGPro List, people were interested in a webfrontend to subscribe/unsubscribe to Email-Lists hosted on a CommuniGate Pro mailserver.

Here is an example perl-script which does handle this and then some.

To use the script, you need a form like this:


<form action="/cgi-bin/ListSubscribe.pl" method=post>
<input type="hidden" name="listname" value="yourlist@example.com">

Your Name: <input type="text" name="realname" maxlength=40>
Company Name: <input type="text" name="company" maxlength=40>
Your Email: <input type="text" name="account" maxlength=40>

<br><b>Action</b><br>
Subscribe: <input type="radio" name="listaction" value="subscribe" checked>  
Unsubscribe: <input type="radio" name="listaction" value="unsubscribe">

<input type="submit" value="Submit">
</form>

Posted in: by seiz | Comments (0)

Post a comment