PERL Subscribe Form

How to Create a simple Subscribe Mail Form for MailList Controller with PERL

Newsletter and Email Marketing Software

Arclab® MailList Controller the newsletter software and email marketing system for your MS Windows based PC.


MailList Controller Homepage

This article gives Information about how to create a simple Subscribe Webform with PERL.
Such a script is often called mailform or formmailer.




The following article shows how to create a subscribe webform using written by Matt Wright.
This PERL-script is installed on many webservers.

HTML soucecode for a HTML subscribe form using installed on your web server:


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<form action="http://www.mydomain.tld/cgi-bin/" method="POST">
<input type="hidden" name="recipient" value="mylist@mycompany.tld">
<input type="hidden" name="redirect" value="http://www.mydomain.tld/newsletter/thankyou.htm">
<input type="hidden" name="subject" value="Subscribe">

<br>Email: <input type="text" name="email">
<br>Name: <input type="text" name="name">

<br><input type="submit" name="send" value="Submit">


The blue lines are specific code for FormMail. If you use a different script, you need to adjust these lines. 
The green lines are universal code, used to add 2 fields (name and email) to our form.


Now save the file to your webserver and click on "Submit".