Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mailthis.to Example
<form action="https://mailthis.to/example" method="POST" encType="multipart/form-data">
<h3>Contact Form (example)</h3>
<!-- Name -->
<input type="email" name="name" placeholder="Your name">
<!-- Email -->
<input type="email" name="email" placeholder="you@mail.com">
<!-- Phone Number -->
<input type="text" name="phone" placeholder="+1 (255) 555-5555">
<!-- Textarea (Message) -->
<textarea name="message" placeholder="Enter your message here" style="height:90px"></textarea>
<!-- File attachments -->
<input type="file" name="file" placeholder="">
<!-- Optional (hidden) fields -->
<!-- Custom email Subject -->
<input type="hidden" name="_subject" value="Contact form submitted">
<!-- Custom email ReplyTo Address -->
<input type="hidden" name="_replyto" value="foo@bar.co">
<!-- Redirect to a page after recaptcha -->
<input type="hidden" name="_after" value="https://myhomepage.net/">
<!-- Honeypot (to catch comment spam bots) -->
<input type="hidden" name="_honeypot" value="">
<!-- Apply a custom confirmation message on the second step -->
<input type="hidden" name="_confirmation" value="">
<!-- Submit Button -->
<input type="submit" name="submit" value="Submit Form" class="btn btn-primary">
</form>
@matiasgys

This comment has been minimized.

Copy link

@matiasgys matiasgys commented Oct 24, 2018

Hi
I have a problem with the redirect page, sometimes don´t redirect for the page that I put and redirect to a random page.

This is my code:
<form action="https://mailthis.to/xxxxx@xxxxx.com" method="POST" encType="multipart/form-data"> <label for="form-email">Nombre*:</label> <input type="text" name="nombre" required> <label for="form-email">Email*:</label> <input type="email" name="_replyto" required> <label for="form-email">Telefono:</label> <input type="text" name="telefono" > <input type="hidden" name="_subject" value="Formulario de contacto Web"> <input type="hidden" name="_after" value="http://labagualachacras.com/chacras/gracias.html"> <input type="hidden" name="_honeypot" value=""> <input type="hidden" name="_confirmation" value="Gracias"> <input type="submit" value="Enviar"> </form>

@aniav

This comment has been minimized.

Copy link

@aniav aniav commented Dec 29, 2018

I have the same thing, no matter if the redirect is set or empty, I am redirected to dental solutions or some other random page...

@tea-time-reaper

This comment has been minimized.

Copy link

@tea-time-reaper tea-time-reaper commented Jan 18, 2019

I meet the same problem. Has anyone been able to fix this?

@ulpoh

This comment has been minimized.

Copy link

@ulpoh ulpoh commented Jun 4, 2019

Hi guys,

I am new to mailto so i noticed that i couldn't see the test mail sent to my email box.

I only got the message from mailto "You received this because you signed up for MailThis.to, a form to email service.

without showing the content of the mail

Have a Wonderful Day!"

@Bluewavenow

This comment has been minimized.

Copy link

@Bluewavenow Bluewavenow commented Sep 12, 2019

I meet the same issue as ulpoh, never received an email. Thank you in advance for your help

@CodeAlDente

This comment has been minimized.

Copy link

@CodeAlDente CodeAlDente commented Apr 1, 2020

You received this because you signed up for MailThis.to, a form to email se=
rvice. <br><br><br><br>Have a Wonderful Day!<br><br><img src=3D"https://u94=
00108.ct.sendgrid.net/wf/open?upn=............../>

ref https://sendgrid.com/docs/ui/account-and-settings/tracking/#open-tracking

A tracking pixel inside the mail. Come on @kidGodzilla, seriously?

@armanrozika

This comment has been minimized.

Copy link

@armanrozika armanrozika commented Jun 26, 2020

is this still maintained?

@petejacobson

This comment has been minimized.

Copy link

@petejacobson petejacobson commented Aug 24, 2020

seems like not maintained, I didn't get any confirmation emails etc. Really nice concept, sorry to see it not working

@kidGodzilla

This comment has been minimized.

Copy link
Owner Author

@kidGodzilla kidGodzilla commented Sep 11, 2020

Sorry for the late reply, I didn't get notifications for this (I had sold the project a few years back).

It seems the new owner abandoned it after adding a spammy redirect to the Thank you page a while back, and then stopped paying for Sendgrid & the domain renewal this year.

I've since restored service and reverted the changes. Should be back online and running now.

As for the Tracking pixel @CodeAlDente mentioned, it's either a Sendgrid default, or something added after I stopped working on this. I'll take a look at one of the test emails I sent to see if it's there.

@petejacobson

This comment has been minimized.

Copy link

@petejacobson petejacobson commented Sep 11, 2020

that's awesome! Did not expect to hear back! Thanks @kidGodzilla

@laureen-m

This comment has been minimized.

Copy link

@laureen-m laureen-m commented Sep 15, 2020

@kidGodzilla - Hi! Just discovered this amazing service. Everything seems to be set up right, except that when I receive the emails, I don't see their content, it just says "You've received an email". Maybe I'm missing something very obvious, but I don't really know what to do. Can you help? Thanks!

@laureen-m

This comment has been minimized.

Copy link

@laureen-m laureen-m commented Sep 15, 2020

Hi again @kidGodzilla - I just figured it out, I didn't have a name attribute on the form fields. It's working great now. Thank you!

@sarahmonster

This comment has been minimized.

Copy link

@sarahmonster sarahmonster commented Oct 20, 2020

@kidGodzilla I'm having issues with the redirect as well—I've put in a value for it, but when I submit the form, I wind up stuck on a blank screen with a teensy recaptcha in the corner:

image

My form looks like this (simplified):

<form action="https://mailthis.to/email@" method="POST" enctype="multipart/form-data">
<input type="hidden" name="_after" value="https://letsgetmarriedinacastle.com/thanks/">
</form>

The email sends, but it looks as though it gets stuck at the recaptcha step. Any tips on how to fix it?

@mwt

This comment has been minimized.

Copy link

@mwt mwt commented Jan 18, 2021

This user has exceeded their MailThis.to Quota.

This is kind of a problem since this is the main way to contact mailthis.to. Is there some other way to contact the team?

@TKStudios

This comment has been minimized.

Copy link

@TKStudios TKStudios commented Feb 8, 2021

@sarahmonster Does this happen with every request? From what I read on MailThis page they said that they may make some users complete captchas to help reduce potential spam. Maybe their captcha service is broken?

@KingstonLeung03

This comment has been minimized.

Copy link

@KingstonLeung03 KingstonLeung03 commented May 1, 2021

Even if I verified, when I try sending a form it says:
"Success. A verification link has been sent to your email. Email:xxxxx@gmail.com Alias: xxxxxx@gmail.com."
Every time I try reverifying it just says:
"This email has already been verified"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment