@Override
        public void run() {
            try {
                sendMessages();
            }
            catch (MessagingException me) {
                Log.error(me.getMessage(), me);
            }
        }
Task to send one or more emails via the SMTP server.
xmppserver/src/main/java/org/jivesoftware/util/EmailService.java