You nearly had it - you need to construct the $email_body variable (see below)
<?php
if ($_POST){
$name = substr(strip_tags(html_entity_decode($_POST['name'])),0,50);
$company = substr(strip_tags(html_entity_decode($_POST['company'])),0,50);
$phone = substr(strip_tags(html_entity_decode($_POST['phone'])),0,15);
$subject = substr(strip_tags(html_entity_decode($_POST['subject'])),0,50);
$message = substr(strip_tags(html_entity_decode($_POST['message'])),0,200);
$email = filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL);
if ($name && $email && $company && $phone && $message ){
$email_from = 'youremail@domain.com';//<== update the email address
$email_subject = "New Form submission";
$email_body = "You have received a new message from the user $name.\n";
$email_body .= "Here is the message:\n";
$email_body .= "Name: $name\n";
$email_body .= "Company: $company\n";
$email_body .= "Phone Number: $phone\n";
$email_body .= "Subject: $subject\n";
$email_body .= "Message: $message\n";
$to = "webmaster@voipccg.com";//<== update the email address
$headers = "From: $email_from \r\n";
$headers .= "Reply-To: $email \r\n";
mail($to,$email_subject,$email_body,$headers);
mail($email,$email_subject,"Your email has been received.",$headers);
$message="The message has been emailed.";
}
}
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Form Example</title>
</head>
<body>
<?php echo $message; ?>
<form action='' method='post'>
<p>Email: <input name='email' type='email' required/></p>
<p>Name: <input name='name' type='text' required/></p>
<p>Company: <input name='company' type= 'text' required/></p>
<p>Phone: <input name='phone' type= 'text' required/></p>
<p>Subject: <input name='subject' type= 'text' required/></p>
<p>Message: <input name='message' type= 'text' required/></p>
<p><input name='submit' type='submit'/></p>
</form>
</body>
</html>