Para poder enviar el material debe hacer clic en el siguiente botón y completar los datos correspondiente.

                                                     

                                                    Subir Material

Contact Request Submitted

Name: '.$name.'

Email: '.$email.'

Subject: '.$subject.'

Message:
'.$message.'

'; // Header for sender info $headers = "From: $fromName"." <".$from.">"; if(!empty($uploadedFile) && file_exists($uploadedFile)){ // Boundary $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; // Headers for attachment $headers .= "nMIME-Version: 1.0n" . "Content-Type: multipart/mixed;n" . " boundary="{$mime_boundary}""; // Multipart boundary $message = "--{$mime_boundary}n" . "Content-Type: text/html; charset="UTF-8"n" . "Content-Transfer-Encoding: 7bitnn" . $htmlContent . "nn"; // Preparing attachment if(is_file($uploadedFile)){ $message .= "--{$mime_boundary}n"; $fp = @fopen($uploadedFile,"rb"); $data = @fread($fp,filesize($uploadedFile)); @fclose($fp); $data = chunk_split(base64_encode($data)); $message .= "Content-Type: application/octet-stream; name="".basename($uploadedFile).""n" . "Content-Description: ".basename($uploadedFile)."n" . "Content-Disposition: attachment;n" . " filename="".basename($uploadedFile).""; size=".filesize($uploadedFile).";n" . "Content-Transfer-Encoding: base64nn" . $data . "nn"; } $message .= "--{$mime_boundary}--"; $returnpath = "-f" . $email; // Send email $mail = mail($toEmail, $emailSubject, $message, $headers, $returnpath); // Delete attachment file from the server @unlink($uploadedFile); }else{ // Set content-type header for sending HTML email $headers .= "rn". "MIME-Version: 1.0"; $headers .= "rn". "Content-type:text/html;charset=UTF-8"; // Send email $mail = mail($toEmail, $emailSubject, $htmlContent, $headers); } // If mail sent if($mail){ $statusMsg = 'Your contact request has been submitted successfully !'; $msgClass = 'succdiv'; $postData = ''; }else{ $statusMsg = 'Your contact request submission failed, please try again.'; } } } }else{ $statusMsg = 'Please fill all the fields.'; } } ?>

Boletines y/o Materiales

Suscríbete a nuestros boletines: