Saturday, April 4, 2009

 

How to submit a form to email

Hi,

I've noticed various webmaster form threads ; with everyone asking the same question.

Basically, you have a page with a "Contact US" form and when you try hitting submit you are not getting any email messages.

This maybe because the free-space is not doing SMTP, it is turned off, or your email system thinks the message is SPAM.

Whatever, the reason I have put together simple form to email program - FREE for ANYONE

Here's how to use it:


Step #1) Go Here and Register
http://www.bwebcentral.com/utils/form-email-setup.php

**Be sure to put the exact page that your contact us page will be called in the "Website Form" field. Otherwise it will not work

Step #2) After sign-up you will get an email with a secret key


Step #3) Add the code below to your contact us page (remember to replace YOUR-SECRET-KEY below with the secret key you get in the email

HTML Code

HTML Code:

<H1>Contact Us</H1>

<P>

Please fill out the form below to send us a message.

</P>

<TABLE BORDER=0>
<FORM ACTION="http://www.bwebcentral.com/utils/auto-form.php" METHOD="POST">
<INPUT TYPE="hidden" Name="SecretKey" Value="YOUR-SECRET-KEY">

<TD>Your Name: </TD><TD ALIGN="LEFT"><INPUT TYPE="text" Name="YourName" Value=""></TD><TR>

<TD>Your Email:</TD><TD ALIGN="LEFT"> <INPUT TYPE="text" Name="FromAddr"></INPUT></TD><TR>

<TD COLSPAN="2">

<B>Your Message</B><BR>
<TEXTAREA ROWS=5 COLS=80 Name="TheBody"></TEXTAREA>
<P><BR>
Verification:<INPUT Type="Text" Name="VerifyCode" Size=8>

<script><!--
a = Math.random();
document.writeln("<IMG Width='100' Height='100' SRC=\"http://www.bwebcentral.com/randimg.php?var=sss&dummy=" + a + "\">");
-->
</script>
Type the letters you see in the box to the left. <A TARGET="_new"
HREF="http://en.wikipedia.org/wiki/Captcha">
What's This?</A>

<P ALIGN="CENTER">
<INPUT TYPE="Submit" Name="Submit" Value="Send Message">
</P>
</FORM>



That's it, go to the page you just created and try to submit a message!
All of the items contained on the form will be emailed to the page you setup when you registered. You can have multiple form pages, but each will require a separate registration and thus a separate secret key

You can add as many form fields as you like, but you cannot remove the CAPTCHA (Spam prevention tool)



If you want an autoresponse sent when submit submits the form you will have to create a text file on your server containing the autoresponding text you would like to have emailed back to your users.

Hope you enjoy it !

Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]