$mail->isSMTP(); // Send using SMTP
$mail->Host = 'smtp.zoho.com'; // Set the SMTP server to send through
$mail->SMTPAuth = true; // Enable SMTP authentication
$mail->Username = 'XXXXXXXX'; // SMTP username
$mail->Password = 'XXXXXXXX'; // SMTP password
$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; // Enable TLS encryption; `PHPMailer::ENCRYPTION_SMTPS` also accepted
$mail->Port = 587; // TCP port to connect to
$mailClient->isSMTP(); // Send using SMTP
$mailClient->Host = 'smtp.zoho.com'; // Set the SMTP server to send through
$mailClient->SMTPAuth = true; // Enable SMTP authentication
$mailClient->Username = 'XXXXXXXX'; // SMTP username
$mailClient->Password = 'XXXXXXXX'; // SMTP password
$mailClient->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; // Enable TLS encryption; `PHPMailer::ENCRYPTION_SMTPS` also accepted
$mailClient->Port = 587;