def METHOD_NAME(self, options):
    try:
        mail_server = self.create_connection_with_mail_server(options)
        mail_server.ehlo()
    except Exception:
        self.pprint("Error connecting to {!s} on port {!s}".format(options["SMTP_HOST"], options["SMTP_PORT"]))
        return None
    try:
        mail_server.starttls()  # Give start TLS a shot
    except Exception as e:
        self.pprint("{} - Assuming TLS unsupported and trying to continue..".format(str(e)))
    try:
        mail_server.login(options["SMTP_LOGIN"], options["SMTP_PASS"])
    except Exception as e:
        self.pprint("ERROR: {} - Assuming open-relay and trying to continue..".format(str(e)))
    return mail_server