|<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="email@example.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="firstname.lastname@example.org">|
|<!-- 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">|
This is my code:
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!"
A tracking pixel inside the mail. Come on @kidGodzilla, seriously?
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.
@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!
@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:
My form looks like this (simplified):
The email sends, but it looks as though it gets stuck at the recaptcha step. Any tips on how to fix it?