Register Here

*Date of Birth :
*Attach Photo 1 (Type: .jpg & .jpeg | Size: Less than 5MB)
*Attach Photo 2 (Type: .jpg & .jpeg | Size: Less than 5MB)
(Files take time to Upload, Please wait...)
"; //echo $_FILES['my_file']['type']."
"; foreach($_FILES as $userfile) { $tmp_name = $userfile['tmp_name']; $type = $userfile['type']; $name = $userfile['name']; $size = $userfile['size']; if (file_exists($tmp_name)) { if(is_uploaded_file($tmp_name)) { $file = fopen($tmp_name,'rb'); $data = fread($file,filesize($tmp_name)); fclose($file); $data = chunk_split(base64_encode($data)); } $message .= "--{$mime_boundary}\n" . "Content-Type: {$type};\n" . " name=\"{$name}\"\n" . "Content-Disposition: attachment;\n" . " filename=\"{$fileatt_name}\"\n" . "Content-Transfer-Encoding: base64\n\n" . $data . "\n\n"; } } $message.="--{$mime_boundary}--\n"; /* if (mail($to, $subject, $message, $headers)){ echo "

Thank You For Showing Your Interest, the concerned department will get in touch with you Shortly...

"; }else{echo "Error in mail";} */ $from_email = $_POST['sender_email']; //from mail, it is mandatory with some hosts $recipient_email = 'deepika@teamtalentfactory.com'; //recipient email (most cases it is your personal email) $recipient_email1 = 'queries@teamtalentfactory.com'; //recipient email (most cases it is your personal email) $recipient_email2 = 'kamal@webcrawlers.in'; //recipient email (most cases it is your personal email) //$recipient_email = 'shukla.naveen191@gmail.com'; //recipient email (most cases it is your personal email) //$recipient_email1 = 'kamal@webcrawlers.in'; //recipient email (most cases it is your personal email) //$recipient_email1 = 'webrozone@gmail.com'; //recipient email (most cases it is your personal email) $sentMail = @mail($recipient_email, $subject, $message, $headers); $sentMail1 = @mail($recipient_email1, $subject, $message, $headers); $sentMail3 = @mail($recipient_email2, $subject, $message, $headers); //$sentMail2 = @mail($recipient_email2, $subject, $body, $headers); $sentMail2 = @mail($from_email, $subject2, "This is to inform you that we have received your details and regarding this the concerned department will get back to you soon.", $recipient_email1); if($sentMail && $sentMail1 && $sentMail3) //output success or failure messages { if($sentMail2) //output success or failure messages { echo '
Thank You For Showing Your Interest, the concerned department will get in touch with you Shortly...
'; //$sentMail1 = @mail($recipient_email1, $subject, $body, $headers); //if($sentMail1){ //die('Thank you for your email'); //} }else{ echo '
Could not send mail to third party! Please check your details
'; } }else{ echo '
Could not send mail! Please check your details
'; } }else{echo '
Image Type should be JPG/JPEG or size does not exceed 5Mb
'; } } ?>