How to make an order via mail forms in html come to my e-mail?

    2 answers 2

    In short: On the site, add a form with the required fields:

    <form method="post" action="send.php"> <input type="text" name="name" /><br /> <input type="text" name="email" /><br /> <input type="text" name="adress" /><br /> <input type="submit" name="send" value="Отправить" /> </form> 

    On the send.php page, catch an event from a form, for example:

     if($_SERVER['METHOD'] == 'post' && isset($_POST['send'])) 

    and send an email with mail ()

      Well, in pure HTML it does not work out, and if you use PHP, for example, using the SendMail function, it’s easy to find in a search engine.