Name'.$Name.'
Email'.$Email.'
Message'.$message.'
'; require("phpmailer/class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsHTML(true); $mail->FromName="Hitron"; $mail->AddAddress($to); $mail->CharSet ="utf-8"; $mail->Subject = $subject; $mail->Body = $htmlmsg; $x=$mail->Send(); $msg="Your mail has sent successfully."; } include 'html/contactus.htm'; ?>