Self hosted form submit API

Self hosted form submit API Created by chilly_orange. This templates have specific characteristics, namely: Self has features such as High Resolution: Yes, Software Version: PHP 5.x, MySQL 5.x .

You can use this Self hosted form submit API on Php scripts category for form API, form submit API, form to email, form to email api, html forms and another uses.

Self hosted form submit API
© Copyright by chilly_orange

Features:

  • None: None
  • Codeigniter: CodeIgniter
  • Php 5.x, mysql 5.x: PHP 5.x, MySQL 5.x
  • None: None
  • Javascript js, html, css, php, sql: JavaScript JS, HTML, CSS, PHP, SQL
  • Yes: Yes

Sent API is a self-hosted API allowing you to submit forms from static HTML sites across the web. The API takes your form data and turns it into a nicely formatted email. It’s the ultimate solution for handling forms on static sites!

Simply add a custom ACTION attribute to your form pointing to your API url, and Sent will handle the form submission and send you the form data in a nice email (the submissions are also stored inside a database for easy management)

In the examples below, “yourdomain/sent” would in real situations be replaced with the URL pointing to your own API and “me@gmail.com” with the email address to which the data should be send.

Basic example

<form action='//yourdomain/sent/api/me@gmail.com'>    <input type='text' name='name'>    <input type='email' name='email'>    <textarea name='message'></textarea>    <input type='submit' value='Send'></form>

Advanced example

<form action='//yourdomain/sent/api/me@gmail.com'>    <input type='hidden' name='_subject' value=''>    <input type='hidden' name='_replyto' value=''>    <input type='hidden' name='_after' value=''>    <input type='hidden' name='_confirmation' value=''>    <input type='text' name='name'>    <input type='email' name='email'>    <textarea name='message'></textarea>    <input type='submit' value='Send'></form>

Validation Example

<form action='//yourdomain/sent/api/me@gmail.com'>    <input type='hidden' name='_valid[name]' value=''>    <input type='hidden' name='_valid[email]' value=''>    <input type='hidden' name='_valid[message]' value=''>    <input type='text' name='name'>    <input type='email' name='email'>    <textarea name='message'></textarea>    <input type='submit' value='Send'></form>

Sent API features

  • 1 minutes setup using the easy install script
  • Form field validation
  • Form submission using regular email address OR email ID (to hide your email address in the API url)
  • Handles file uploads with a breeze (adds them as attachment and optionally stores them on your server)
  • HTML and/or text emails
  • Custom confirmation messages
  • SPAM detection (using a custom SPAM words and/or phrases)
  • SPAM detection using a honey pot field
  • Use as public OR private API
  • Advanced options using custom hidden fields
  • Easy to use admin panel to track submissions, email ID’s and attachments
  • Easy configuration using settings panel (part of the admin area)

API Requirements

  • Apache2 server
  • PHP 5.1.6+
  • MySQL (mysqli support)
  • (Windows/IIS is experimental)
  • Server capable of sending mail (i.e. sendmail) OR
  • Access to a STMP server (ie gmail or your own server)

CHANGE LOG

2014-14-12 (v1.2)- feature: dynamic replete field values- feature: optional debugging for sending emails2014-05-04 (v1.3)- feature: added CC and BCC fields