Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 30363

PHP sending email form [duplicate]

$
0
0

I have an HTML form that requires the user to enter his name, last name, email, and text which needs to be sent automatically to the owner of the website.

<div class="kontakt1">  <form method="post"><p><polje ><label for="ime">Ime*</label><input name="ime" required></polje></p><p><polje><label for="prezime">Prezime*</label><input name="prezime" required></polje></p><p><polje><label for="email">Email*</label><input name="email" required></polje></p><p><polje><label for="tekst">Unesite tekst*</label><textarea name="tekst" rows="4" cols="50" required></textarea></polje></p><button style="submit">Pošalji</button></form>

I'm really new to PHP, can anyone help me how to add PHP code so when the user clicks submit the email is sent.


Viewing all articles
Browse latest Browse all 30363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>