ã¨ã£ã¦ãç°¡åã require 'xmpp4r' to = 'someone@gmail.com' body = 'This message is from xmpp4r.' subject = 'test' message = Jabber::Message.new to, body message.subject = subject id = 'myname@gmail.com' password = 'mypassword' client = Jabber::Client.new Jabber::JID.new(id), false client.connect client.auth password client.send message client.close
{{#tags}}- {{label}}
{{/tags}}