Contact form new Generation v2 icon

Contact form new Generation v2

Contact form new Generation v2

Description

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

External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.

Products of the Week.

Submit
codester.com

codester.com

SocialDesk+: Omnichannel Social Commerce & Business Management Platform This is stronger than simply “Social Commerce and Messaging” because it tells buyers this is a complete business platform, not just a messaging script. Turn Social Conversations Into Sales SocialDesk+ is a complete omnichannel social commerce and business management platform built for businesses that sell and communicate with customers through social media. Instead of switching between WhatsApp, Facebook, Instagram and TikTok, businesses can manage customer conversations, comments, products, leads, follow-ups, automation, teams and business reports from one professional workspace. And because the full source code is included, developers, agencies and entrepreneurs can customize, rebrand and launch SocialDesk+ as their own business solution or SaaS platform. 🚀 Build Your Own Social Commerce Business SocialDesk+ gives you the foundation to launch: - Your own SaaS platform - A white-label social CRM - A social-commerce management system - A customer communication platform - A business messaging solution - A custom solution for clients - A multi-business subscription platform 💬 Connect Your Customers Supported social channels include: WhatsApp • Facebook • Instagram • TikTok Bring supported conversations into one centralized workspace and help businesses respond faster without constantly switching between platforms. 🛍️ More Than a Messaging Platform SocialDesk+ combines communication with the tools businesses need to manage customer opportunities: Inbox Manage customer conversations from connected channels. Comments Monitor and respond to social-media comments. Customers & Leads Organize customer information and potential buyers. Products & Catalog Manage products and give your team quick access to product information. Follow-Ups Make sure potential customers don't get forgotten. Automation Automate repetitive customer questions and responses. AI Assistant Provide AI-assisted communication when configured. Team Management Give managers and staff access to the business workspace. Reports & Analytics Track activity using business reports and analytics. The current product listing already includes these capabilities. 🔥 Why Buyers Will Want It Launch Faster Start with an already-built business platform instead of developing the entire system from zero. Customize Everything The full source code is included, allowing developers to change branding, features, workflows and integrations. Build a SaaS Create multiple business workspaces and offer SocialDesk+ as a subscription-based service. Sell to Businesses Offer it to retailers, restaurants, service businesses, online sellers, agencies and other businesses that communicate with customers through social media. Mobile + Web + Backend This isn't just a mobile UI template. It includes: - Flutter mobile application - Python / FastAPI backend - Web interface - Administration tools - Database infrastructure - API-based architecture - SQLite / PostgreSQL support - Android and iOS project structure 💼 One Platform. Multiple Business Opportunities. For SaaS Entrepreneurs Launch your own subscription platform and allow multiple businesses to operate inside separate workspaces. For Software Agencies Customize and rebrand the platform for clients instead of building an omnichannel business system from scratch. For Developers Use the complete source code as a foundation for your own social-commerce or customer-management product. For Businesses Deploy a dedicated version for your own customer-service and social-commerce operations. 🧩 What's Included Mobile - Flutter / Dart - Android - iOS project Backend - Python - FastAPI - SQLAlchemy - Alembic Database - SQLite - PostgreSQL Web - HTML5 - CSS3 - JavaScript Deployment - Docker - Docker Compose - Production configuration Business Platform - Multi-workspace architecture - Authentication - Teams - Customers - Products - Messaging - Comments - Automation - Reports - Subscriptions - Administration The current listing also documents third-party integrations such as Meta, TikTok, Stripe, Firebase, SMTP and optional OpenAI configuration. ⚡ What Makes SocialDesk+ Different? You're not buying a simple: ❌ Chat UI ❌ WhatsApp clone ❌ Flutter template ❌ Admin dashboard ❌ Basic CRM You're getting a complete business platform foundation that can be customized, branded and commercialized. Connect. Automate. Manage. Grow. SocialDesk+ Omnichannel Social Commerce & Business Management Platform One important change I'd make to the current listing The current page starts with: “A simple guide to managing your social conversations, customers, products and business activity.”

Other · 3,008 views · 30 clicks

$2

Contact form new Generation v2 | Code Market