Skip to content

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

License

Notifications You must be signed in to change notification settings

mehmetcanfarsak/FormToEmailService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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