Sending form without PHP

-1
Good afternoon I developed a website of html5 and css3 and so now I have a "problem" I have to make a form in this site with basic information such as phone number and subject and the message and this should be sent to my email when the Personal submit form would like to know if there is a way to do this without using php

Follow my code with MAILTO:

<form id="main-contact-form" action="MAILTO:[email protected]" method="post" enctype="text/plain">
                <div class="row  wow fadeInUp" data-wow-duration="1000ms" data-wow-delay="300ms">
                  <div class="col-sm-6">
                    <div class="form-group">
                      <input type="text" name="name" class="form-control" placeholder="Nome" required="required">
                    </div>
                  </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <input type="email" name="email" class="form-control" placeholder="Email" required="required">
                    </div>
                  </div>
                </div>
                <div class="form-group">
                  <input type="text" name="subject" class="form-control" placeholder="Assunto" required="required">
                </div>
                <div class="form-group">
                  <textarea name="message" id="message" class="form-control" rows="4" placeholder="Escreva sua Mensagem" required="required"></textarea>
                </div>                        
                <div class="form-group">
                  <button type="submit" class="btn-submit">Enviar</button>
                </div>
              </form>   
    
asked by anonymous 04.02.2016 / 20:03

2 answers

0

Dude if you create a form and send it to "mailto:"

Look at the W3Schools example

link

Remembering that there is no guarantee that it will work in all browsers.

    
04.02.2016 / 20:09
1

I would like to point out that this is a palliative measure because when you use the "mailto:" command you will only be telling the browser / OS that you want to open something in the email client case.

But in many cases - like mine - the person does not own or use a configured email program, then it becomes more complicated for the person to send you a message.

Not to mention that you can not metrify the user such as browser that he used, user IP and things like that (I know I'm thinking complex but it's possible).

Well if this form is not risky and so on. I would recommend using these free form forwarding services, where you copy the provided URL and put it in your form, just search on Goole.

    
05.02.2016 / 02:53