I am trying to send email from website, using PHP Mailer 5.2. Please have a look into it and share a solution for this.
$mail = new PHPMailer();
$mail->IsSMTP(); //Sets Mailer to send message using SMTP
$mail->Host = 'smtp.zoho.com'; //Sets the SMTP hosts
$mail->Port = '465'; //Sets the default SMTP server port
$mail->SMTPAuth = true; //Sets SMTP authentication. Utilizes the Username and Password variables
$mail->Username = 'info@hyliv.com'; //Sets SMTP username
$mail->Password = 'pass'; //Sets SMTP password
$mail->SMTPSecure = 'ssl'; //Sets connection prefix. Options are "", "ssl" o
$mail->From = 'info@hyliv.com';
$mail->FromName = 'info@hyliv.com';
$mail->Subject = 'Test Email';
$mail->WordWrap = 50; // some nice default value