B.E.C. Networks Limited
Designing electronic and computing solutions

Home

Form Mailer
Home
Products
B.E.C. Form Mailer is an email relay agent which will accept any kind of generic form submission to it.  The results of that form are then emailed to a configured address.  Note that this mailer supports POST, not GET submission.

An example form is shown below, along with the HTML code that is used to generate the example form.  The parameters that can be included in your form (as hidden input types), are also shown.  These can be embedded within your form, to customise the actions, or mail message type.

Refer to your standard HTML literature of web sites for more information on forms.

 

Example Form:
Name:
Type of food liked: Apples
Bananas
Favourite Ice Cream: Strawberry
Vanilla
Chocolate
How you heard about us:
   
Parameters:
forward_url OPTIONAL - the URL that the browser should link to once the form has been submitted.  If this is not included, a default simple generated HTML page is returned to the browser, with a table of all the form fields submitted (except for these system defined hidden fields - note that other hidden fields are included).
title OPTIONAL - the title of the system generated web page (if no forward_url included).  If title is not included, the default will be "Form Submission Confirmation".
thankyou OPTIONAL - a thank you message to display in the system generated web page (if no forward_url included).  If thankyou is not included, the default will be "Thank you for sumbitting the form. Your details have been received as follows:"
email REQUIRED - the email address to send the form results to.
subject OPTIONAL - the subject text for the email message that is sent.  If subject is not included, it will be set to "Form Submission Received".
from OPTIONAL - the from address for the email message that is sent.  If from is not included, it will be set to "Website".
Example HTML code for above form:
<form method="POST" action="http://www.becnetworks.kattare.com/servlet/becnetworks.webapps.becformmailer.BECFormMailer">
<div align="center"><table border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td colspan="2" height="20"></td>
</tr>
<tr>
<td><font face="Verdana" size="2">Name:</font></td>
<td><font face="Verdana" size="2"><input type="text" name="Name" size="35"></font></td>
</tr>
<tr>
<td><font face="Verdana" size="2">Type of food liked:</font></td>
<td><font face="Verdana" size="2"><input type="checkbox" name="Apples" value="ON">Apples<br>
<input type="checkbox" name="Bananas" value="ON">Bananas</font></td>
</tr>
<tr>
<td><font face="Verdana" size="2">Favourite Ice Cream:</font></td>
<td>
<font face="Verdana" size="2">
<input type="radio" name="Favourite Flavour of Icecream" value="Strawberry" checked>Strawberry<br>
<input type="radio" name="Favourite Flavour of Icecream" value="Vanilla">Vanilla<br>
<input type="radio" name="Favourite Flavour of Icecream" value="Chocolate">Chocolate</font></td>
</tr>
<tr>
<td><font face="Verdana" size="2">How you heard about us:</font></td>
<td><font face="Verdana" size="2"><select name="How did you hear about this site" size="1">
<option selected value="From a friend">From a friend</option>
<option value="From a search engine">From a search engine</option>
<option value="From the press">From the press</option>
<option value="Other">Other</option>
</select></font></td>
</tr>
<tr>
<td height="10"></td>
<td></td>
</tr>
<tr>
<td colspan="2"><font face="Verdana" size="2"><input type="submit" value="Submit" name="Submit Button">&nbsp;&nbsp;&nbsp; <input
type="reset" value="Reset" name="B2"></font></td>
</tr>
<tr>
<td colspan="2" height="20"></td>
</tr>
</table>
</div>

<input type="hidden" name="email" value="test@becnetworks.co.uk">
<input type="hidden" name="title" value="Test form from B.E.C. Networks (Custom)">
<input type="hidden" name="thankyou" value="Thank you for trying out the test form. Your details have been logged as followd (custom message):">
<input type="hidden" name="subject" value="Test Form Submission (Custom)">
<input type="hidden" name="from" value="testform@becnetworks.co.uk">

</form>

[return to top]