We recently migrated our email to Microsoft office 365 which would only allow connection with STARTTLS, since this our email configuration is refusing to connect.
Failed to connect to smtp.office365.com:587 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]