IsSMTP(); $mail->Host = 'mail.domain.com'; $mail->Port = 587; $mail->SMTPAuth = true; $mail->Username = 'info@ddeehmr.org.in'; $mail->Password = 'king2014'; $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); $mailcc_array = explode(",", $mailcc); $mailbcc_array = explode(",", $mailbcc); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } for ($i = 0; $i < count($mailcc_array); $i++) { if(trim($mailcc_array[$i]) != "") { $mail->AddCC($mailcc_array[$i], ""); } } for ($i = 0; $i < count($mailbcc_array); $i++) { if(trim($mailbcc_array[$i]) != "") { $mail->AddBCC($mailbcc_array[$i], ""); } } $mail->AddReplyTo($mailfrom); if (!ValidateEmail($mailfrom)) { $error .= "The specified email address is invalid!\n
"; } if (!empty($error)) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $error, $errorcode); echo $errorcode; exit; } $internalfields = array ("submit", "reset", "send", "captcha_code"); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { $logdata .= ','; if (!is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; $value = str_replace(",", " ", $value); $logdata .= $value; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; $logdata .= implode("|", $value); } } } $logdata = str_replace("\r", "", $logdata); $logdata = str_replace("\n", " ", $logdata); $logdata .= "\r\n"; WriteToFile($logdata); $mail->CharSet = 'ISO-8859-1'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0 && $_FILES[$key]['size'] <= $max_filesize) { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } $mail->WordWrap = 80; $mail->Body = $message; if (!$mail->Send()) { die('PHPMailer error: ' . $mail->ErrorInfo); } header('Location: '.$success_url); exit; } ?> DDEE HAMIRPUR
                               
        
  It's my pleasure to have opportunity to have Hi-Tech media to convey information to all the stackholders involved in the noble profession of spreading light of knowledge among the children of the Distt.
I promise on behalf of my colleagues that this office will try to its level best in grooming its students with habit of hard work and quality of teaching skills to maintain high standards of excellence in every field to become competent teachers and to bring positive social change in society.
Copyright 2015 by "ddeehmr.org.in   •   All Rights reserved   •   E-Mail: ddehmr@gmail.com        Website Designed & Managed By: Sh Mukesh Thakur
Home   |   About Us   |   Downloads |  Photo Gallary  |  Private Schools  |   Establishments   |   Other Links   | 
Official website
Dy. Director of Elementary Education Hamirpur Distt Hamirpur H.P.

From the desk of DDEE Hamirpur

 

Current Posts

UPADATES
Welcome to All   o/o  The Deputy Director of Elementary  Education,Distt.- Hamirpur ,HP.       Email :ddehmr@gmail.com    Ph/Fax No. :01972-222749
Welcome to all  

Submission of Text Books reg 


Renomination For Inspire Award

Pre Matric Information application


Income Certificate for Pre Matric Scholarship Scheme Form

PTA grant-in-aid Cases Regarding


Notification regarding 25 % admissions in Private Schools in HP

Fake admission Under 25 % Admission in Private Schools

Online applications under National Scholarships Portal for pre Matric Scholarship Scheme  to disabled Students Reg













                           






























 
Name of School /Office
Office Dispatch No
DDEE office Letter no 
Attached your office letter / soft copy here 
Subject of letter