messages/email_.py
def _get_ssl(self):
        """Get an SMTP session with SSL."""
        return smtplib.SMTP_SSL(
            self.server, self.port, context=ssl.create_default_context()
        )
def _get_ssl(self):
        """Get an SMTP session with SSL."""
        return smtplib.SMTP_SSL(
            self.server, self.port, context=ssl.create_default_context()
        )
Get an SMTP session with SSL.