if (!empty ($str_cc))
$str_headers .= "Cc: $str_cc\r\n" ;
if (!empty ($str_bcc))
$str_headers .= "Bcc: $str_bcc\r\n" ;
//---------------HTML FORMAT-------------------------//
// To send HTML mail, the Content-type header must be set
// $str_headers .= 'MIME-Version: 1.0' . "\r\n";
$str_headers .= 'Content-type: text/html; charset=tis620' . "\r\n";