def send_msg(self, recipient, msg):
        if not self.connected:
            self.logger.error("Unable to connect to Jabber - unable to send jabber message!")
            return

        self.logger.info("Sending Jabber message to %s: %s", recipient, msg)
        self.send_message(mto=recipient, mbody=msg)
Send jabber message to specified recipient
dataset/ETHPy150Open rllynch/pi_garage_alert/bin/pi_garage_alert.py/Jabber.send_msg