Error: javax.mail.MessagingException: Could not connect to SMTP host: smtp. gmail.com, port: 465, response: -1
![Getting this error message: The message could not be sent because the connection to Outgoing server (SMTP) smtp.gmail.com was lost in the middle of | Thunderbird Support Forum | Mozilla Support Getting this error message: The message could not be sent because the connection to Outgoing server (SMTP) smtp.gmail.com was lost in the middle of | Thunderbird Support Forum | Mozilla Support](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/images/2020-03-02-03-19-49-338f62.png)
Getting this error message: The message could not be sent because the connection to Outgoing server (SMTP) smtp.gmail.com was lost in the middle of | Thunderbird Support Forum | Mozilla Support
![Why does Gmail (add accounts) using SMTP server recommend SSL instead of TLS? - Information Security Stack Exchange Why does Gmail (add accounts) using SMTP server recommend SSL instead of TLS? - Information Security Stack Exchange](https://i.stack.imgur.com/utLdI.png)