DEV Community


Low-code HTML forms that submit directly to your email address! (Free serverless forms)

mailslurp profile image MailSlurp ・2 min read

I built a free API that you can submit HTML forms to and receive the data to your email - attachments included!

Check it out

Alt Text

Why did I make it?

I wanted an easy way to make contact forms for static websites. With MailSlurp forms you can now create forms that submit to your email address without any server or Javascript.


Just POST any HTML form to

<form action="" method="post">
  <!-- include any form fields, even files -->
  <textarea name="example"></textarea>
Enter fullscreen mode Exit fullscreen mode

Any named input field will be put into a table and sent to your email address within seconds.


You can add files too by adding an enctype="multipart/form-data" attribute to your <form> element.


  <input multiple name="files" type="file">
  <button type="submit">Send to me</button>

Enter fullscreen mode Exit fullscreen mode

More settings

You can set the subject, bcc, cc of the email and more by adding query parameters to the url. You can see a full list of config options here.

You can also alias or mask your email address behind an MailSlurp ID so that your email address is not exposed to the public.

<form action="" method="post">
  <!-- hide email with an alias (create a free account for this) -->
  <!-- data to submit -->
Enter fullscreen mode Exit fullscreen mode

Get started

MailSlurp forms are free :). If you want extra features like on demand email addresses, or a MailServer API then you can explore MailSlurp's paid account. Have fun!

Discussion (3)

lukewduncan profile image
Luke Duncan

Awesome! I've seen an app like this before, but never included attachments. Congrats!

alvaroadlf profile image

Interesting and useful project 👌🏻👌🏻, how long does it take (more or less) to send the email? 👌🏻 👌🏻

mailslurp profile image
MailSlurp Author

I believe a few seconds, normally under ten.

Forem Open with the Forem app