Incorrect verification code.
'; }else{ $email_id=trim($_POST[email_id]); $uploaddir = "uploadme"; if(is_uploaded_file($_FILES['resume']['tmp_name'])) { move_uploaded_file($_FILES['resume']['tmp_name'],$uploaddir.'/'.$_FILES['resume']['name']); } $filenamestr = $uploaddir.'/'.$_FILES['resume']['name']; if (file_exists($filenamestr)) { //echo "The file $filenamestr exists"; $m= new Mail; // create the mail $m->From( $email_id ); $m->To( "info@auumart.com" ); //$m->To( "yogighoge@gmail.com" ); $m->Subject( "Enquiry Form - Client" ); $message= "
 Applicant Details
Name : $HTTP_POST_VARS[your_name]
Contact No : $HTTP_POST_VARS[contactno]
Email id : $email_id
"; $m->Body( $message); // set the body //$m->Cc( "someone@somewhere.fr"); //$m->Bcc( "someoneelse@somewhere.fr"); //$m->Priority(4) ; // set the priority to Low $m->Attach($filenamestr, "application/octet-stream" ) ; // attach a file of type image/gif //alternatively u can get the attachment uploaded from a form //and retreive the filename and filetype and pass it to attach methos $m->Send(); // send the mail //echo "the mail below has been sent:
", $m->Get(), "
"; unlink($filenamestr); ?>