Name: |
'.$name.' |
Branch: |
'.$branch.' |
Passout Year: |
'.$pyear.' |
Current Job Profile: |
'.$cjob.' |
Last Job Profile: |
'.$ljob.' |
Current Address: |
'.$caddrs.' |
E-mail 1: |
'.$mail1.' |
E-mail 2: |
'.$mail2.' |
Contact No. 1: |
'.$cno1.' |
Contact No. 2: |
'.$cno2.' |
';
if($imagename!="")
{
$filePath = $_SERVER['DOCUMENT_ROOT']."/images/mail/".$imagename;
$fileName = basename($filePath);
$fileType = 'image/jpeg';
}
//$fileType = 'application/msword';
/* 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= Alumni Application Successful.';
if($imagename!="")
{
unlink($_SERVER['DOCUMENT_ROOT']."/images/mail/".$imagename);
}
} else {
$mailmsg = 'Alumni Application Failed
';
}
}
else
{ $mailmsg = ""; }
include "header.php";
?>
|
|
|
|