Skip to content

Instantly share code, notes, and snippets.

@rlorca
Last active January 15, 2023 23:24
Show Gist options
  • Save rlorca/100740 to your computer and use it in GitHub Desktop.
Save rlorca/100740 to your computer and use it in GitHub Desktop.
simple XMPP message
require 'rubygems'
require 'xmpp4r-simple'
jabber = Jabber::Simple.new(username+'@gmail.com',password)
puts "Connected."
jabber.deliver("l***@gmail.com", "Hello..!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment