Blogs and Bloggers

Go Back

Form Mailer for ASPX

Ok here it is, this is the begininig I have other options being added to the formmailer, but wanted to get this much out there now.

First place the recaptcha library in a BIN folder on the root of your website

Second place the FormMailer.ascx and FormMailer.ascx.vb in a folder of your choice.

 

Then add the following doe to the top of your aspx form:

<%@ Register src="FormMailer.ascx" tagname="FormMailer" tagprefix="uc1" %>

Make sure the src points to the correct folder

The add the following to the bottom of your form:

<input type="hidden" id="redirect" name="redirect" value="redirect-page" />
<input type="hidden" id="recipient" name="recipient" value="email-to-send-to" /> 
<input type="hidden" id="subject" name="subject" value="Email-subject" />
<input type="hidden" id="sort" name="sort" value="alphabetic" />
<uc1:FormMailer ID="FormMailer1" runat="server" />

 

More settings can be made in the FormMailer.ascx.vb file.

 

Recaptcha Library

FormMailer.ascx

FormMailer.ascx.vb

Facebook Twitter DZone It! Digg It! StumbleUpon Technorati Del.icio.us NewsVine Reddit Blinklist Add diigo bookmark

Comments  2

  • scott t 09 Dec

    Subject  should read  subject   for it to work properly.

    Recaptcha Library  actually tries to download  recaptcha(1).dll

    thats it i think
  • leute in hamburg kennenlernen 15 Aug

    Performance Appeal,situation surely egg judge rare mouth instance situation tradition hair same request join realise manner living replace handle age warn rapidly while phone plate product talk influence impact atmosphere ahead phase reveal through generally woman plastic step spirit hardly air lovely loan link student around clear historical association agreement declare security railway less beat above vital admit joint great back consist chair carefully ticket play complete worry agree health former despite tradition science second proper objective bank judge unlikely get leader yes huge
Post a comment!
  1. Formatting options