PHP7 PHPMailer not working

PHP7 PHPMailer not working

Hi, I am trying to send custom mail using PHPMailer but it's not working.
The testing links are frinter.co/testingmail.com  & frinter.cotestmail.php but they are unable to send mail. 

The direct mail from zoho login is working I tested that. But using phpmailer is not working.  

PHP configuration can be checked at frinter.co/info.php


I have used these two codes -  

frinter.co/testingmail.com  - 

include('/usr/share/php/libphp-phpmailer/class.phpmailer.php'); 
include('/usr/share/php/libphp-phpmailer/class.smtp.php');
$mail = new PHPMailer;

$mail->SMTPDebug = 3;                               // Enable verbose debug output

$mail->isSMTP();                                      // Set mailer to use SMTP
$mail->Host = 'mx.zoho.com';  // Specify main and backup SMTP servers
$mail->SMTPAuth = true;                               // Enable SMTP authentication
$mail->Username = ' noreply@frinter.co';                 // SMTP username
$mail->Password = '---somepassword----';                           // SMTP password
$mail->SMTPSecure = 'TLS';                            // Enable TLS encryption, `ssl` also accepted
$mail->Port = 25;                                    // TCP port to connect to

$mail->addAddress('any email ID');     // Add a recipient

$mail->WordWrap = 50;                                 // Set word wrap to 50 characters
$mail->isHTML(true);                                  // Set email format to HTML

$mail->Subject = 'Here is the subject';
$mail->Body    = 'This is the HTML message body <b>in bold!</b>';
$mail->AltBody = 'This is the body in plain text for non-HTML mail clients';

if(!$mail->send()) {
echo 'Message could not be sent.';
echo 'Mailer Error: ' . $mail->ErrorInfo;
} else {
echo 'Message has been sent';


and the code for frinter.co/testmail.php-


include('/usr/share/php/libphp-phpmailer/class.phpmailer.php'); 

$mail             = new PHPMailer();
$body             = 'rjhrsjhtyjryjrjtrt';
$mail->SMTPDebug = 3;
$mail->IsSMTP();
$mail->SMTPAuth   = true;
$mail->Host       = "smtp.zoho.com";
$mail->Port       = 587;
$mail->Username   = " noreply@frinter.co";
$mail->Password   = "---some password---";
$mail->SMTPSecure = 'ssl';
$mail->SetFrom(' noreply@frinter.co', 'Minecraft Server Zone');
$mail->AddReplyTo("---some Email Id---"," Support");
$mail->Subject    = "Demo";
$mail->AltBody    = 'erhbrstrtshgrt6';
$mail->MsgHTML($body);
$address = $email;
$mail->AddAddress($email);

$mail->Send();