Home  >  Q&A  >  body text

Internet Explorer does not support mailto in form actions for HTML form emails

Our client has a register.html page with a very simple form that allows the user to enter details to register to the client website.

The form operation is set to "mailto:clientsemail.client.com?subject=subject". The enctype of the page is set to text/plain, and the method is post.

What should happen is that the user email client opens a new email, sets the subject and posts the form textbox into the form body. The website visitor then simply sends an email.

I know it's not very elegant, but that's how they set it up.

Now this all works as expected and sends a rather clunky looking email to the correct address using the web visitor email client, but only in Firefox, Chrome and Opera. Safari crashes completely and Internet Explorer opens the email client and populates the address and subject fields, but the form input is not copied to the body.

Does anyone know why this is? This drives me crazy. Been looking at it all day and every article I find on the subject states that it is set up correctly and should work. There's no mention that it doesn't work in IE.

P粉458913655P粉458913655329 days ago676

reply all(1)I'll reply

  • P粉676588738

    P粉6765887382023-10-27 15:05:26

    mailto: Form operations depend on your browser and native email client working well together. They do this so rarely that the mailto: form action doesn't work on the WWW< /a>.

    Replace this with a server-side program that sends email.

    reply
    0
  • Cancelreply