FREE DOWNLOAD
<body style=”margin-top:35px”> <nav>
User Documentation
<!— —> ☰ </nav> <header>Contact Form new generation
</header> <section>- About
- Welcome
- <!
-->Benefits - Features
- Live demo
- <!
-->License - Getting Started
- Technology Features
- Inside the Project
- Launch the Application
- Configuring
- Email Settings
- SMTP Settings
- Captcha Settings
- Changelog
- v1.0
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.
Features
Full ASP.NET MVC with Razor viewBased on Bootstrap responsive styleYou can send email with one or more attached filesThe option to receive a copy of the email sentUse of Google’s new reCAPTCHA "I’m not a robot" to protect you from spamDownload the email sent in PDF formatJQuery Client side validationValidation for required fieldsValidation for email addressValidation of the number of characters entered in the message min and maxSummary validation formConfirmation email messageFull code library to send email with System.Net.Mail name spaceEasy configuration of email and SMTP settings in the "web.config" fileSource code full documentedLayered developmentClean code with defensive coding conceptTurnkey email sending formRespect the web standardEasy install; 100% integration
collection widget and is available for free download here </section> <footer>
© 2018 maDiLsoft </footer> <script src="http://doccontactform.azurewebsites.net/js/jquery.min.js"></script> <script type="text/javascript" src="http://doccontactform.azurewebsites.net/js/prettify/prettify.js"></script> <!-<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?lang=css&skin=sunburst"></script>-> <script src="http://doccontactform.azurewebsites.net/js/layout.js"></script> <script src="http://doccontactform.azurewebsites.net/js/jquery.localscroll-1.2.7.js" type="text/javascript"></script> <script src="http://doccontactform.azurewebsites.net/js/jquery.scrollTo-1.4.3.1.js" type="text/javascript"></script> <!--<script type="text/javascript" src="../../wp-content/themes/piha/js/top-bar-l1.js"></script> <script type="text/javascript" src="../../wp-content/themes/piha/js/bsa-ads-l1.js"></script>-->
Live demo
</section>
<section class="vibrant centered">
This documentation template is provided free by eGrappler.com. Opineo is a feedback
Getting Started
Technology Features
ASP.NET MVC 4C# language .NET Framework 4 or aboveVisual Studio 2012/2013 or aboveMust have Nuget package manager installed in Visual Studio if lower than VS2017For Visual Studio 2010 you must install MVC4 packageMS IIS 6/7Rotativa 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 projectService layer: that represent the email sending class libraryData contract layer: that represent data transfert object used to pass message between layers
Launch the Application
Unzip project fileWith MS Visual Studio, Launch the *.sln fileRight-click on ContactUs project and click on Set as startup project menuRebuild the solutionYou must configure email and SMTP parameters befor test sending mail, 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 projectIn appSettings section set the correcte value for nameTo and emailTo KeysnameTo key : Set the recipient’s NameemailTo 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 projectGo to smtp section under system.net>mailSettings sectionhost attribute : Set your host(mail server) nameport attribute : Set host port number that allow you send emailuserName attribute : Set your mail server account/userName/login that let you to connect to your mail server providerpassword 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 detailsIntegrate Google reCAPTCHA JS API in your websitePut your Site Key in the HTML, Figure 1Put your Secret Key on web config file, Figure 2You 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
You are reading FREE DOWNLOAD Contact form new Generation (Communication Tools) with this link https://tespohno.blogspot.com/2018/01/free-download-contact-form-new.html
0 comments