';
require 'class/class.phpmailer.php';
$mail = new PHPMailer;
$mail->IsSMTP(); //Sets Mailer to send message using SMTP
// ADD YOUR DETAILS HERE
$mail->Host = 'smtp.gmail.com'; //Sets the SMTP hosts of your Email hosting, this for Godaddy
$mail->Port = '465'; //Sets the default SMTP server port
$mail->SMTPAuth = true; //Sets SMTP authentication. Utilizes the Username and Password variables
$mail->Username = 'yourEmail@gmail.com'; //Sets SMTP username
$mail->Password = 'YourPassword'; //Sets SMTP password
$mail->SMTPSecure = 'ssl'; //Sets connection prefix. Options are "", "ssl" or "tls"
$mail->From = 'designinnovationpatna@gmail.com'; //Sets the From email address for the message
$mail->FromName = 'Trickuweb.Com - Coding Master'; //Sets the From name of the message
$mail->AddAddress('praveen@trickuweb', 'Praveen Kumar'); //Adds a "To" address
// ADD YOUR DETAILS HERE
$mail->WordWrap = 50; //Sets word wrapping on the body of the message to a given number of characters
$mail->IsHTML(true); //Sets message type to HTML
$mail->AddAttachment($path); //Adds an attachment from a path on the filesystem
$mail->Subject = 'Application for JOB'; //Sets the Subject of the message
$mail->Body = $message; //An HTML or plain text message body
if ($mail->Send()) //Send an Email. Return true on success or false on error
{
$message = '