QUICKSTART: POST any form to:

A Memorable & Secure Email API. Registration optional.

Just build a form & post data to MailThis.to/.
The data arrives in your mailbox seconds later. Even attachments!

<form action="https://mailthis.to/you@mail.com" method="POST"> <input type="text" name="name" placeholder="Your name"> <input type="email" name="_replyto" placeholder="Your email"> <input type="submit" value="Send"> </form>
Live Demo Form

This will send an email to you@mail.com.
Modify the code to test!

View code View live demo

It's not secure to leave your email address exposed on the internet.
Create an Alias to avoid being spammed!

How it works

Create an Alias

Create an alias (optional) to avoid exposing
your email address to the world.

Create a Form

Create a form using HTML,
or a form builder.

Receive Email!

Each time your form is submitted,
you'll receive an email!


Post any HTML form to .

You will receive a request from us to verify your email. Once you verify your email, you will begin to receive messages from your MailThis.to form submissions. You are protected from spam with Recaptcha.

Full API Guide

1. Create an Email Alias (recommended)

Register a username to use in place of your email address when building forms, to reduce spam.

Enter your Email Address:
Enter your Desired Alias:

2. Build your form

Create an HTML form which posts data to the Mailthis.to API.

<form action="https://mailthis.to/you@mail.com" method="POST" encType="multipart/form-data"> <input type="text" name="name" placeholder="Your name"> <input type="email" name="_replyto" placeholder="Your email"> <textarea name="message" placeholder="Enter your message here"></textarea> <input type="file" name="file" placeholder="Attachments (optional)"> <input type="hidden" name="_subject" value="Contact form submitted"> <input type="hidden" name="_after" value="https://myhomepage.net/"> <input type="hidden" name="_honeypot" value=""> <input type="hidden" name="_confirmation" value=""> <input type="submit" value="Send"> </form>

3. Use advanced fields (optional)


This allows you to specify a custom subject for your email message.


This allows you to specify a custom reply-to field for your email message.


This allows you to specify a redirect URL to send users to after they send a message.


This is a special field which acts as a form of SPAM protection. This hidden field will not be shown to regular visitors, but most SPAM bots will automatically enter a value into this field. If Mailthis.to detects a value, the data is considered SPAM and won't be processed (no email will get sent).

File uploads

Simply add a file upload, switch your form to encType="multipart/form-data" and you will receive the file as an attachment.


Set a custom confirmation message shown to the user after successfully submitting the form.

4. Example using AJAX (advanced)

You can also use AJAX to send email, without an HTML form. However, in order to prevent spam, your users will need to complete recaptcha after your request is completed.

To do this, redirect your users to after your request has completed.

See an Example

Contact Form (Source )

Your Name
Your E-mail
Your Phone
Your Message
Attachment (optional)
It's just a form!
No need to do anything special.
Just create a normal form.
As many fields as you need
All you need to do is make sure they have different names.
Special fields
Use hidden fields to specify a _replyto address, custom _subject line, or prevent spam with _honeypot.
File Attachments
Let your users upload a file, and it will appear as an attachment. Just remember to set your <FORM> to encType="multipart/form-data"