0

I am trying to set my "Submit" button to send to my email address but it doesn't seem to work. I can't seem to figure out what I'm missing and haven't coded that much lately. Any help would be greatly appreciated. Below is the code which is live on my website - www.flyfreebird.com/aprons.html :

<div class="custom_form group">
 <form class="form_container">
 <form method="post" action="mailto:flyfreebird@me.com" enctype="text/plain">
  <label for="name">Name</label>
  <input type="text" id="name" name="fullname">
  <label for="email">Email Address</label>
  <input type="text" id="email" name="email">
  <label for="phone">Phone</label>
  <input type="text" name="phone">
  <label for="company">Company</label>
  <input type="text" name="company">
  <label for="phone">Quantity</label>
  <input type="text" name="quantity">
  <label for="zip">Zip</label>
  <input type="text" name="zip">
  <label for="details">Details</label>
  <textarea id="details" name="subject" placeholder="Tell us what we need to know…" style="height: 200px;"></textarea>
  <input type="submit" name="submit">
 </form>
</div>
<div id="clear"></div>
  • mailto does not send an email. It just launch the default email client on user's machine. The email form will be pre-populated with the values from the form input but still the user have to click to send email out. – Nawed Khan Jul 12 '17 at 22:19

1 Answers1

0

You can't send email with bare HTML, you should use PHP or something like that How to send an email using PHP?

Djordje Vujicic
  • 414
  • 5
  • 20