Skip to content

Instantly share code, notes, and snippets.

@kidGodzilla
Last active September 11, 2023 08:00
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kidGodzilla/0952f3bb44ae568dbe60029182bbba6e to your computer and use it in GitHub Desktop.
Save kidGodzilla/0952f3bb44ae568dbe60029182bbba6e to your computer and use it in GitHub Desktop.
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>
@mwt
Copy link

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
Copy link

@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
Copy link

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"

@StephanReiners
Copy link

@kidGodzilla
I have problems to login, as js.jotter.app seems to be dead ...
I'll start using this great service and wonder, if it is stable and can be used in productional environments.
Please give a feedback.

BR Stephan

@tpritchard843
Copy link

@KingstonLeung03 Did you ever figure out the verification issue? I am having the same problem where it sends me a verification email instead of a form

@ArminVdg
Copy link

Hi,
I tried to send an angular form through angular service. But got this error below. Is anyone meet this type of issue?
error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON"

Thanks in advance!

@MichaelEr
Copy link

Hi, I tried to send an angular form through angular service. But got this error below. Is anyone meet this type of issue? error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON"

Thanks in advance!

I am getting the same error whenever I try to POST from Angular.
I am wondering whether I am doing something wrong, is it there an issue with the service?

@LMyers1012
Copy link

Hi, I tried to send an angular form through angular service. But got this error below. Is anyone meet this type of issue? error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON"
Thanks in advance!

I am getting the same error whenever I try to POST from Angular. I am wondering whether I am doing something wrong, is it there an issue with the service?

Try adding {responseType: 'text'} to your post request.
Like this:
return this.http.post(this.api, input, { responseType: 'text' })

@UsmanRajput89
Copy link

is it not working nowadays?

@mwt
Copy link

mwt commented Jul 25, 2023

is it not working nowadays?

It's been broken for two and a half years

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