Would the following PHP code work in sending the name and email address someone has put into an HTML <form> field to an email address I specify?
<?php
$name = $_POST['name']
$email = $_POST['email']
//To, Subject, Message, Header
mail('
[email protected]', 'newsletter signup', ' . $name . '...