send email php
<?php
$to = '';
$subject = '';
$name = htmlspecialchars($_POST['name']);
$organization = htmlspecialchars($_POST['organization']);
$email = htmlspecialchars($_POST['email']);
$phone = htmlspecialchars($_POST['phone']);
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
$headers .= "X-Priority: 3\r\n";
$headers .= "X-Mailer: PHP". phpversion() ."\r\n";
$headers .= "From: <" . $email . ">" . "\r\n";
$headers .= "Reply-To: " . $email . " \r\n";
$headers .= "Return-Path: " . $email . "\r\n";
$content = '<html><body>';
$content .= '
<strong>Name: </strong>'.$name.' ;<br/><br/>
<strong>Company: </strong>'.$organization.' ;<br/><br/>
<strong>Email: </strong>'.$email.' ;<br/><br/>
<strong>Email: </strong>'.$phone.' ;<br/><br/> ';
$content .= '</body></html>';
mail($to, $subject, $content, $headers);
?>