1
Hello, I created a form in html, but not this functional , why I have little knowledge in PHP, how can I develop the script to send the email to my Hotmail?
This is my form
<main>
<section class="contato">
<div class="container">
<form>
<div class="cols">
<div class="col">
<div class="form-group">
<input type="text" placeholder="Nome" required>
</div>
</div>
<div class="col">
<div class="form-group">
<input type="email" placeholder="Email" required>
</div>
</div>
<div class="col">
<div class="form-group">
<input type="number" placeholder="Telefone">
</div>
</div>
<div class="col">
<div class="form-group">
<select>
<option>Selecione uma opção</option>
<option>Orçamento</option>
<option>Duvidas Referente ao Serviço</option>
<option>Outro</option>
</select>
</div>
</div>
</div>
<div class="text-area">
<textarea placeholder="Escreva sua mensagem"></textarea>
</div>
<div class"form-group">
<button class="botao medio"><i class="fa fa-envelope" aria-hidden="true"></i> Enviar</button>
<div>
</form>
</div>
</section>
</main>
You can use the library Phpmailer or the native function mail() PHP. But try [Edit] your question and give more details, for example what is not functional, some error, some warning, your code. A more concrete question.
– UzumakiArtanis
@Uzumakiartanis Sorry, I actually only have the html form, I haven’t written the code in php yet, so I need help on how to do the script
– user77295
Please put the code here, specify your question. What do you have ready? Show us! :)
– Mariana Bayonetta
I just finished editing the question
– user77295
Search a little on the subject, even on the links I posted before or on google even, then develop something and come back with a more concrete doubt (a mistake maybe).
– UzumakiArtanis
You have several questions right here at https://answall.com/search?q=qnviar+email+%5Bphp%5D I recommend this one here https://answall.com/questions/23602/como-mail-com-php and this one also https://wiki.locaweb.com.br/pt-br/Envio_autenticado_na_revenda
– UzumakiArtanis
Possible duplicate of Sending email via Phpmailer to Gmail
– Bruno Costa