I have migrated to new server from old server. There are quite changes in new server. Old server was using PHP 5.6
and phalcon 3.2
and new server is using PHP 7.3
& phalcon 3.4.4
.
In old server email sending is working smoothly but in new server it's throwing the below error:
Swift_TransportException: Unable to connect with TLS encryption
Server Mail configuration in both sites are:
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=mypassword
MAIL_ENCRYPTION=tls
NOTE: Old site was on http
and new site is on https