Treceți la conținutul principal

Contact form new Generation v2 (Communication Tools) download

Contact Form new generation


About


Welcome


This contact form is one of the safest forms of email sending that you can integrate into your application, it is complete, correctly developed, and respects the known best practices in order to guarantee its maintenance and its evolution.


Click here for online documentation


Click here for live Demo


Features


  • Full ASP.NET MVC with Razor and ViewModel binding

  • Full Ajax call

  • Based on Bootstrap responsive style

  • You can send email with one or more attached files

  • Receive a copy of the email sent

  • Download the email sent in PDF format

  • Use of Google’s new reCAPTCHA “I’m not a robot” to protect you from spam

  • A flexible jQuery loading overlay page

  • JQuery Client side validation

  • Validation for required fields, email address and number of characters entered in the message min and max

  • Summary validation form

  • Confirmation email message in modal dialog

  • Full code library to send email with System.Net.Mail name space

  • Easy configuration of email and SMTP settings in the “web.config” file

  • Source code full documented

  • Layered development

  • Clean code with defensive coding concept

  • Turnkey email sending form

  • Respect the web standard

Getting Started


Technology Features


  • ASP.NET MVC 4

  • C# language .NET Framework 4 or above

  • Visual Studio 2012/2013 or above

  • Must have Nuget package manager installed in Visual Studio if lower than VS2017

  • For Visual Studio 2010 you must install MVC4 package

  • MS IIS 6/7

  • Rotativa library for converting HTML to PDF

Inside the Project


The project is developed in layer, it contains 3 layers :



  • UI Layer: that represent the ASP.NET MVC project

  • Service layer: that represent the email sending class library

  • Data contract layer: that represent data transfert object used to pass message between layers

Launch the Application


  • Unzip project file

  • With MS Visual Studio, Launch the *.sln file

  • Right-click on ContactUs project and click on Set as startup project menu

  • Rebuild the solution

  • You must configure email and SMTP parameters befor test sending email, go to Configuring section to make

Configuring


Email Settings


In order to send email to recipient, you must set the correct value in configuration file :


  • Open Web.config file in ContactUs web project

  • In appSettings section set the correcte value for nameTo and emailTo Keys

  • nameTo key : Set the recipient’s Name

  • emailTo key : Set the recipient’s email address



<appSettings>
<!--Email Settings-->
<!--Specify the correct value of each key bellow -->
<add key="nameTo" value ="Dupont"/>
<add key="emailTo" value ="dupont@sample.com"/>
<!--End email settings-->
</appSettings>

SMTP Settings


Here it’s very important step, you must set SMTP parameters to allow application send email, you can use Gmail SMTP service through your Gmail account, click here for more details.


  • Open Web.config file in ContactUs web project

  • Go to smtp section under system.net>mailSettings section

  • host attribute : Set your host(mail server) name

  • port attribute : Set host port number that allow you send email

  • userName attribute : Set your mail server account/userName/login that let you to connect to your mail server provider

  • password attribute : Set your mail server password that let you to connect to your mail server provider



<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network defaultCredentials="false" enableSsl="true" host="smtp.sample.com" port="123" userName="contact@sample.comt" password="PASSWORD" />
</smtp>
</mailSettings>
</system.net>

Captcha Settings


On this version we use the google reCaptcha V2, please refer to this link for more details click in following link What is reCAPTCHA?.


  • Register your website on Google recaptcha and get your two keys : Site Key and Secret Key. Click here form more details

  • Integrate Google reCAPTCHA JS API in your website

  • Put your Site Key in the HTML, Figure 1

  • Put your Secret Key on web config file, Figure 2

  • You can Enable or Disable Captcha by setting the value “EnableCaptcha” key value on web config file, true to enable captcha and false to disable it. Figure 3.

Figure 1



<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<div name="Captcha" class="g-recaptcha" data-sitekey="6LffSToUAAAAAGm2hvf3qWyDqokNKJjqmFovn6Pq"></div>
@Html.ValidationMessageFor(m => m.Captcha)
</div>
</div>

Figure 2



<add key="captchaSecretKey" value="6LffSToUAAAAAESDO6Avf8FD-wJWZA1QUfhYiPcF"/>

Figure 3



<add key="EnableCaptcha" value="false" />

Changelog


v1.0


v1.0 it’s the initial version of the project


v2.0


  • Integrate page loader every Ajax call

  • Fix bug : reload contact view after sending email with Ajax

  • Fix of minor bugs


Best Price| | Preview

Source Link





Speed loading



Price












Your Rating:
3.8
( 1 votes)











DOWNLOAD Contact form new Generation v2 (Communication Tools)

Comentarii

Postări populare de pe acest blog

Charihope | Charity and Donate PSD Template (Charity) download

Charihope is a clean PSD Template suitable for cause, charity, donate, donations, foundation, fund raising, gallery, non-profit, nonprofit theme, organization, shop website. You can customize it very easy to fit your needs. You can customize it very easy to fit your needs. 1/ Features: 20+ Layered PSD’s 3 Demo Homepage Layouts Google Free Fonts Active and Hover stats are included Easily customizable Photoshop files Every page is fully layered and organized with proper names Clean and Modern Style Pixel Perfect 1170px Grid System 2/ Inside this package: 01_HomePage_v1.psd 02_HomePage_v2.psd 03_HomePage_v3.psd 04_Couses_Slice.psd 05_Couses_Slice_v2.psd 06_Couses_Grid.psd 07_Couses_Details.psd 08_Events_Grid.psd 09_Events_List.psd 10_Events_Details.psd 11_About_Us.psd 12_Our_Volunteers.psd 13_Become_A_Volunteers.psd 14_Gallery.psd 15_404.psd 16_Shop.psd 17_Shopping_Cart.psd 18_Shop_Checkout.psd 19_Contact_Us.psd 20_News.psd 21_News_Details.psd 3/ Fonts In this template, we use font f...

Interico - Stylish Interior Design & Architecture WordPress Theme (Business) download

Interior design, Architecture & Furniture theme with style! Interico is best suitable for interior design, architecture & furniture related companies or individuals, as well as other services in related fields. Interico – suitable for any interior design, architecture related businesses. Use interico in style in unlimited fields related to interior and architecture, such as home designer, architect, lighting specialists, plants companies, landscapers, cafes designers, office interior services, decorators, kitchen design, dining rooms, residential design, commercial design, office buildings, construction company, suitable for provance, modern, tradition, industrial and scandinavian design styles, etc. Interico features amazing modern & professional design, smooth user-experience across multiple devices and is packed with useful features & page templates to get up and running fast & easy with no prior experience. Setting up your website is fast & easy with I...

DigiPro - Digital Marketplace HTML Template with Dashboard (Shopping) download

Overview Overview A multi-functional template with a custom dashboard that allows you selling just about anything online, that is DigiPro. if you’re planning to sell items such as themes, templates, plugins, code snippets, art, logos, e-books, tutorials, audio or video files etc as well as physical items, this clean and modern HTML template design will make a huge positive impression on the visitors and potential buyers. DigiPro HTML5 template is built using the latest technology such as Gulp, SASS, BEM so it’s easy to customize and extend. Our modular layout makes it flexible, reusable and unique every way. It has a rich collection of elements and components so that the user doesn’t have to be limited by the layouts provided. A user can easily make new components, section even pages with ease combining different elements component. Features 5 Different Home pages 3 Different product card style 3 individual product description page Dedicated user/vendor dashboa...