pascal i modified the code tobelow but now when i recieve the mail the $fromemail and $name parts are empty...why dont they show up?
<form>
<input type="name" id="inputName" placeholder="Name">
<input type="name" id="inputEmail" placeholder="Email">
<button type="submit">SUBMIT</button>
</form>
$fromemail=myemail@domain.com;
$name=$_POST['inputname'];
$fromemail=$_POST['inputemail'];
$headers= 'From: '.$fromemail . "\r\n" . 'Reply-To: '.$fromemail;
if(isset($_POST['submit']))
{
wp_mail($toemail,$name,"working",$headers);
}