I have a website and would like to receive messages from the site in my email, how do I?

Asked

Viewed 58 times

0

how do I receive messages from users of my site in my email?

  <form class="form mb-5" method="POST" action="https://formspree.io/[email protected]" style="color: #fff">
      <div class="form-row">
        <div class="form-group col-md-6">
          <label for="inputNome">Nome</label>
          <input type="name" class="form-control" id="inputnome" required placeholder="Nome">
        </div>

        <div class="form-group col-md-6">
          <label for="inputEmail">Email</label>
          <input name="email" type="email" class="form-control" id="inputEmail" required placeholder="Email">
        </div>
      </div>

      <div class="form-row">
        <div class="form-group col-md-10">
        <label for="inputEndereco">Endereço se atendimento a domicílio</label>
        <input type="text" class="form-control" id="inputEndereco" placeholder="Rua, Bairro">
        </div>
      </div>          

      <div class="form-row">
        <div class="form-group col-md-8">
          <label for="inputCity" >Cidade</label>
          <input type="text" class="form-control" id="inputCity" placeholder="Itapecerica da Serra" required>
        </div>
      </div>  
      <div class="form-row">

        <div class="form-group col-md-4">
          <label for="inputState">Serviços</label>
          <select id="inputState" class="form-control">
            <option selected>Mão,Pé,Mão e Pé...</option>
            <option>Mão</option>
            <option>Pé</option>
            <option>Pé e Mão</option>
            <option>Maquiagem</option>
            <option>Escova</option>
            <option>Dia de noiva</option>
            <option>Design Unhas</option>
          </select>
        </div>
        <div class="form-group col-md-4">
          <label for="inputData">Horário</label>
          <input type="date" class="form-control" id="inputData">
        </div>
        <div class="form-group col-md-4">
          <label for="inputZip">Horário</label>
          <input type="time" class="form-control" id="inputZip">
        </div>
      </div>       

      <button type="submit" class="btn btn-primary">Agendar</button>

  </form>
  • 1

    Hugo your question is very vague, the way you asked an answer like "Sending an email" would be acceptable. Explain better your problem or doubt

  • 1

    Open your browser and type in Google "Phpmailer", good search.

  • @Ricardopunctual kkkk is true.

  • 1
  • There is no magic, without a backend: script or application on the server; or some third-party api. You will depend on some client of the user’s emails to perform this activity.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.