// enable SMTP authentication
$mail->SMTPAuth = true;
// sets SMTP port
$mail->Port = 25;
// SMTP account username
$mail->Username = "[email protected]";
// SMTP account password
$mail->Password = "itachairman";
$mail->SetFrom("[email protected]", "Samhita");
$mail->AddReplyTo("[email protected]","Samhita");
$mail->Subject = $subject;
$mail->MsgHTML($body);
// To address
$mail->AddAddress($to);