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.