";; $file = fopen($fileatt,'rb'); $data = fread($file,filesize($fileatt)); fclose($file); $msg_txt="\n\nMail created using free code from 4word systems : http://4wordsystems.com"; $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; $headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\""; #$email_txt .= $msg_txt; $email_message .= "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary}\n" . "Content-Type:text/html; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $email_txt . "\n\n"; $data = chunk_split(base64_encode($data)); $email_message .= "--{$mime_boundary}\n" . "Content-Type: {$fileatt_type};\n" . " name=\"{$fileatt_name}\"\n" . //"Content-Disposition: attachment;\n" . //" filename=\"{$fileatt_name}\"\n" . "Content-Transfer-Encoding: base64\n\n" . $data . "\n\n" . "--{$mime_boundary}--\n"; $ok = mail($email_to, $email_subject, $email_message, $headers); if($ok) { } else { die("Sorry but the email could not be sent. Please go back and try again!"); } } function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } function upload_file($file_name,$image,$folder) { $folder=SITE_DIR_PATH."/".$folder; if (!file_exists($folder)) { mkdir($folder, 0777); chmod($folder, 0777); } if($_FILES[$image]['name']!="") { $extension=getExtension($_FILES[$image]['name']); $image_name=$file_name.".".$extension; $uploadedfile=$_FILES[$image]['tmp_name']; $tmp_imagename=$_FILES[$image]['name']; if($tmp_imagename<>"" && $uploadedfile<>"" && $image_name<>"") { move_uploaded_file($uploadedfile, $folder."/".$image_name); } } return $image_name; } $websiteName="www.sanctitude.in"; $adminName="Admin"; $adminEmail="career@sanctitude.in"; if ($_POST['action']=="SendMail") { @extract($_POST); //echo "
";
	//print_r($_POST);
	
	if($_FILES['cvFile']['name']!="") {
		$file_extension=strtolower(getExtension($_FILES['cvFile']['name']));
		if($file_extension!="pdf" && $file_extension!="doc" && $file_extension!="docx" && $file_extension!="txt" && $file_extension!="rtf") {
			$_SESSION['message']="Please upload your cv file (.pdf, .doc, .docx, .txt, .rtf Format Only)";
		}
	}
	if ($_SESSION['message'] == "") {
		$ContactPerson=$salutation." ".ucwords($firstName)." ".ucwords($lastName);
		$from_email=$email;	
		$subject="Functional Application at $websiteName";
		$headers = "From: $ContactPerson<$from_email> \n";
		$headers .= "Reply-To: $eMail \r\n";
		$headers .= "X-Mailer: PHP/". phpversion();
		$headers .= "X-Priority: 3 \n";
		$headers .= "MIME-version: 1.0\n";
		$headers .= "Content-Type: text/html; charset=UTF-8\n";
		$msg="Dear $adminName,\n\n

You have received a Functional Application at $websiteName. Please find below the details:\n\n

Name : $ContactPerson"; if ($positionApplied!="") { $msg.="\n\n

Position Applied : $positionApplied"; } if ($email!="") { $msg.="\n\n

Email ID : $email"; } if ($phone!="") { $msg.="\n\n

Telephone Number : ".$isdCode."-".$areaCode."-".$phone; } if ($mobile!="") { $msg.="\n\n

Telephone Number : ".$isdCodeM."-".$mobile; } if ($city!="") { $msg.="\n\n

City : ".$city; } if ($country!="") { $msg.="\n\n

Country : $country"; } if ($currentCompany!="") { $msg.="\n\n

Current Company : $currentCompany"; } if ($previousCompany!="") { $msg.="\n\n

Previous Company : $previousCompany"; } if ($initialContactMethod!="") { $msg.="\n\n

Initial Contact Method : $initialContactMethod"; } if($_FILES['cvFile']['name']!="") { $file_name="CV_".date("Y_m_d_H_i_s"); $uploaded_file=upload_file($file_name,"cvFile","uploaded_files/cv_files"); $attachment_file=SITE_DIR_PATH."/uploaded_files/cv_files/".$uploaded_file; mail_attachment ($ContactPerson ,$from_email, $adminEmail, $subject, $msg, $attachment_file); } else { @mail($adminEmail, $subject, $msg, $headers); } $To=$email; $subject="Your Enquiry at $websiteName"; $headers = "From: $adminName<$adminEmail> \n"; $headers .= "Reply-To: $adminEmail \r\n"; $headers .= "X-Mailer: PHP/". phpversion(); $headers .= "X-Priority: 3 \n"; $headers .= "MIME-version: 1.0\n"; $headers .= "Content-Type: text/html; charset=UTF-8\n"; $msg="Dear ".$ContactPerson."\n\n

Thanks for sending us your Functional Application at $websiteName \n\n

We will get in touch with you shortly.\n\n

Thanks\n\n

$websiteName"; @mail($To,$subject,$msg,$headers); $_SESSION['message']="Your details has been submitted successfully."; header("location:".$_SERVER['PHP_SELF']); exit; } } ?> Career In Pharmaceuticals Manufacturing company,Hospital Medical Products,Indian Pharma Industry

Sanctitude Analytical Biopharmaceuticals Pvt. Ltd

Career

Employee Login

Clinical Research

Branded Formulation

Career Home

Career

Welcome to a world of sanctitude , we give you opportunities to the work in assignment, research, project etc. These company pathways create simple motivational world. The first step to getting the things you want out of life is this: Decide what you want.

Functional application (field of work )


Position Details
Position Applied*  
Personal Details
Salutation *  
First Name * :
Last Name * :
E-Mail ID * :
Telephone Number * :
Mobile Number * :
City * :
Country * :
Company Details
Current Company  
Previous Company  
Your preferred method of initial contact * :
Resume
Please attach your CV * :
   

Copyright © 2011 Sanctitude All rights reserved.