title: how to create send email form to specific adress on my react js website
body: <p>Hi guys I would like to create a form that costumers fill out with their contact info and then send it to my email, I have this code so far: </p>
  
  <pre><code>import React, { Component } from 'react';
  
  import kontakthornavlnka 
  from'../../assets/svg/kontakt-horna.svg';
  import kontaktdolnavlnka 
  from'../../assets/svg/kontakt-dolna.svg';
  
  class Kontaktformular extends Component {
    state = {
      menoPriezvisko:'',
      email:'',
      telephone:'',
      message:'',
    }
  
    change = e =&gt; {
      this.setState({
        [e.target.name]: e.target.value
      });
    };
  
    onSubmit = (e) =&gt; {
      e.preventDefault();
      console.log(this.state)
    };
  
    render() {
  
      {}
  
  
  return (
  
  &lt;div className="kontaktformular" &gt;
  
  
    &lt;img src={kontakthornavlnka} alt="kontakthornavlnka" /&gt;
  
  &lt;center&gt;
  
    &lt;h3&gt;Zaujal Vás niektorý produkt ?&lt;br /&gt;Kontaktujte nás.&lt;/h3&gt;
  
  &lt;/center&gt;
  &lt;form&gt;
    &lt;div className="tabulka"&gt;
  
      &lt;div className="tabulkaleft"&gt;
  
        &lt;div&gt;&lt;input name="menoPriezvisko" value={this.state.menoPriezvisko} onChange={e =&gt; this.change(e)} className="form-control" placeholder="Meno a priezvysko"/&gt;&lt;/div&gt;
        &lt;div&gt;&lt;input name="email" value={this.state.email} onChange={e =&gt; this.change(e)} className="form-control required email" placeholder="E-mail"/&gt;&lt;/div&gt;
        &lt;div&gt;&lt;input name="telephone" value={this.state.telephone} onChange={e =&gt; this.change(e)} className="form-control required mobile"  placeholder="Telefón"/&gt;&lt;/div&gt;
  
      &lt;/div&gt;
  
      &lt;div className="tabulkaright"&gt;
  
        &lt;div&gt;&lt;textarea name="message" value={this.state.message} onChange={e =&gt; this.change(e)} className="form-control textarea required"&gt;Dobrý deň chcel by som sa spýtať &lt;/textarea&gt;&lt;/div&gt;
  
      &lt;/div&gt;
  
    &lt;/div&gt;
  
  
  
    &lt;input onClick={e =&gt; this.onSubmit(e)} id="button"  type="submit" name="send_contact" data-loading-text="Please wait..." value="Odoslať" /&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>  &lt;img id="img" src={kontaktdolnavlnka} alt="kontaktdolnavlnka" /&gt;
  
    &lt;p&gt;Vytvoril: Sebastián Danáč&lt;/p&gt;
  
  
  
  &lt;/div&gt;
  
  
  
      );
    }
  }
  
  export default Kontaktformular;
  </code></pre>
  
  <p>The <code>React console</code> is showing the new values and it is recognized but I do not know how to send the values to my email, I am guessing that I will have to write something under <code>onSummit</code> </p>