TLS Error message when sending via PHPMailer

TLS Error message when sending via PHPMailer

 Hi Any one able to help me out here, I have a simple form on a web site which I need the contents sent via email when a visitor fills in the details.

I use PHPMailer usually to do this and have no issues with other sites or accounts, I recently came across ZOHO so decided to give it a try.

Problem is that I get an error with the AUTH part of the SMTP as it requires the TLS communication before it will send. I have set SMTP port to 465.

Has anyone had a similar problem, or know of an alternative script to use which will authenticate.

SMTP -> FROM SERVER: 220 mx.zohomail.com SMTP Server (JBMAIL SMTP Server version 1.0M4) ready July 24, 2009 1:54:08 PM PDT SMTP -> FROM SERVER: 250-mx.zohomail.com Hello XXXXXXXXXXXXXXXXXXXXXX (XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX)) 250-SIZE 16000000 250-STARTTLS 250 AUTH LOGIN PLAIN SMTP -> ERROR: AUTH not accepted from server: 530 Must issue a STARTTLS command first SMTP -> FROM SERVER: 250 state reset OK SMTP -> FROM SERVER: -ERR USER NOT AUTHENTICATED -ERR Autologout; idle for too long SMTP -> ERROR: MAIL not accepted from server: -ERR USER NOT AUTHENTICATED -ERR Autologout; idle for too long SMTP -> NOTICE: EOF caught while checking if connected

Thanks