Home > Web Services > Form to Email

Form to Email

If you need a Contact page or other form to email processing, then we have a service for you. Using our Knowledge of the PHP server language and email protocols, we can offer the web site developer/owner the chance of creating a contact page or other form to email form processing.

If you have a form layout capturing names, phone number, addresss (ei Text), gender, colours etc (ei Radio Buttons), checkboxes or dropdown menus then by adding a few hidden fields to your form, it will allow us to process your form and send you an email with the capured data. These could include files (ei photos) than would be attached to the email. Your end user could also recieve a "Thank You" message or a copy of email.

Our Contact Us page uses this processor. The processor doesnt need to know anying about you page, and a few hidden fields tells it, where to send the email, what subject it should have etc.

We have a video to illustrate it's use and how to set it up. Play

Example Code

<form method="POST"
  action="http://branleighcomputers.co.uk/bcformtoemail.php"
  enctype="multipart/form-data" >
<input type="hidden" name="h_bccode" value="1234"/>
<input type="hidden" name="h_redirect" value="thankyou1.html"/>
<input type="hidden" name="h_mailaddr" value="ashley.smith@tesco.net"/>
<input type="hidden" name="h_maxfilesize" value="1M"/>
<input type="hidden" name="h_extlist" value="jpg,png,jpeg"/>
<input type="hidden" name="h_receiptemail" value="email"/>
<input type="hidden" name="h_receipttext" value="Thank You for your Order\nA Second Line"/>
<input type="hidden" name="h_messagebanner" value="Branleigh Computers: Form to Email"/>

-- the rest of your forms visible input (type text,radio, checkbox) ,textareas,select/option dropdown menus--
-- each input should be named. text and textarea uniquiley, radio button uniqiley across the group,
-- checkboxes uniqiley across the group with addition to open/close square braces '[]' to indicate to PHP
-- it is an array. The example page showns how to name each type --

-- finally before the closing form tag (</form>) the submit button and optionally a reset button

<input type="submit" name="submit" value="Submit"/>
<input type="resett" name="reset" value="Optional Reset"/>
</ form >

Example Page amd Simulator