Directory : /home/content/12/10898412/html/pitujjain/ |
Current File : /home/content/12/10898412/html/pitujjain/attachament_mail.php |
Name: '.$name.' E-mail: '.$email.' '; $filePath = $_SERVER['DOCUMENT_ROOT']."/mail/" .$imagename; $fileName = basename($filePath); //$fileType = 'image/jpeg'; //$fileType = 'application/msword'; $fileType = 'image/jpeg'; /* to find out what string to use for type, see http://en.wikipedia.org/wiki/Internet_media_type or $_FILES['attachment']['type']; */ /* encode the email content */ $mineBoundaryStr='otecuncocehccj8234acnoc231'; $headers= Send successfully!'; unlink($_SERVER['DOCUMENT_ROOT']."/mail/" .$imagename); } else { $mailmsg = ' Applying for Post of: '.$jpost.' Failure in Sending.
'; } } } else {$mailmsg = "";} //include "header.php"; ?> ".$mailmsg."" ?>