SMTP not working

SMTP not working

Hi,

I am using PHP Mailer to send automated emails. If I use gmail smtp, it works great. But, if I use smtp.zoho.com, it does not work nor does it give me an error message. The settings that I am using are:
                        $mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = "smtp.zoho.com";
$mail->SMTPAuth = true;
$mail->Username = "xxxxxxx@yyyy.com";
$mail->Password = "xxxxxxxxxxx";
$mail->SMTPSecure = "ssl";
$mail->Port = 465;
                        $mail->Send();

Thanks in advance