Giter Site home page Giter Site logo

mehmetcanfarsak / formtoemailservice Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 347 KB

Reliable form service. Everytime your form is submitted, you will receive email.

Home Page: https://FormToEmailService.deta.dev

License: MIT License

Python 57.77% JavaScript 7.94% CSS 16.34% HTML 17.96%
api apis deta deta-base deta-micros deta-sh detash form form-api form-application

formtoemailservice's Introduction

Logo

Simple Form To Email Service πŸ“¨

Deploy

Reliable form service. Everytime your form is submitted, you will receive email.

Opensource, working and free alternative of MailThis.to

Features and Advantages

  • Built in spam protection with built in captcha (provided by PrivateSimpleCaptchaApi)
  • Fast form submitting in milliseconds (Thanks to DetaEventQueue)
  • Create alias to protect your email from bots.
  • Simple usage and quick setup
  • Customize your forms to your liking
  • Free and Secure (Click to deploy your instance)
  • Customize Subject of email (just add an input with name "subject" to your form)
  • Saves your time (Don't hassle with servers)

Demo Image

For Demo:

Usage

  1. Deploy your instance to Deta
  2. Create alias to your email
  3. Create your Form however you want.
    • Create a form using HTML, a form builder, or use Javascript to generate POST requests that land in your inbox.
    • Make sure action attribute is set to https://FormToEmailService.deta.dev/YourAlias.
      • Example: <form action="https://FormToEmailService.deta.dev/YourAlias" method="post">
  4. πŸŽ‰ Receive emails whenever your form is submitted.
  5. You can change credentials, email settings etc in settings FormToEmailServiceSettings database.

Use Cases

  • Eliminate backend needs in your static websites (Create a simple html form and post it to this service).
  • Use in Contact-Us Forms without complex notification setup
  • Can be used in job application forms.

Example Usages

Html Form:

<form action="https://FormToEmailService.deta.dev/YourAlias" 
    method="POST">
    <input type="email" name="email" placeholder="Your email">
    <input type="text" name="name" placeholder="Your name"> 
    <input type="text" name="subject" placeholder="Test subject of email">
    <textarea name="message" placeholder="Enter your message here"></textarea>
    <input type="submit" value="Send"> 
</form> 

Ajax Request:

<script> 
$.post('https://FormToEmailService.deta.dev/YourAlias', {
  email: '[email protected]',
  name: 'John Doe',
  subject: 'Test subject of email',
  message: 'Test Message'
}).then(function () {
  alert('Yuppie Form Submitted Successfully!');
});
</script>

πŸ„ Also You can deploy this project for free on Deta.Sh Just click the link below πŸ› οΈ

Deploy

Check Api Documantation below: ⬇️

Swagger UI: https://FormToEmailService.deta.dev/docs

ReDoc: https://FormToEmailService.deta.dev/redoc

πŸ’» Github Page:

https://github.com/mehmetcanfarsak/FormToEmailService

Credits

Pages

HomePage

Creating Test Alias

Test Form

Test Form

Spam Protection Page (Captcha)

Spam Protection Page

Example Email Sent From Form Submission

Test Form

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.