- mail: documentation ( source)
- strip_tags: documentation ( source)
<?php
$headers = "From: " . strip_tags($this->from) . "\r\n";
$headers .= "Reply-To: ". strip_tags($this->from) . "\r\n";
$headers .= "CC: check@email.com\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
mail("mail3renjith@gmail.com","Hello","<h1>HELLO WORLD</h1><br><h2>ChuckNorris</h2>",$headers);
?>