I'm using Swiftmailer in a php script to send mail via SMTP using ("smtp.zoho.com", 465,"ssl")
The script runs perfectly, but very strangely only for a couple of days. After that period it will suddenly stop working giving the following error:
Uncaught exception 'Swift_TransportException' with message 'Failed to authenticate on SMTP server with username "[my Zoho email address]" using 2 possible authenticators'
If I then create a new Zoho mail account and use that in the script, then it will start working again... but then will again stop working after about two days. This can only mean that Zoho is changing something to the account after this period of time which creates a problem connecting via a SMTP php script.
What could be going on here? Is there a setting in Zoho mail that activates after a period of time that I have to disable/enable or something?