Created
April 29, 2010 10:06
-
-
Save mdeiters/383394 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Register for an account at clickatell (), you should get 10 free sms messages | |
# 2. Install the clickatell gem by typinging: gem install clickatell | |
# Documentation: http://github.com/lukeredpath/clickatell | |
api_id = ENV['CLICKATELL_ID'] | |
username = ENV['CLICKATELL_USERNAME'] | |
password = ENV['CLICKATELL_PASSWORD'] | |
require 'rubygems' | |
require 'clickatell' | |
api = Clickatell::API.authenticate(api_id, username, password) | |
api.send_message('250788465590', 'How easy is that to spam Jean Baptist') | |
# run this command: | |
# ruby sending_sms.rb CLICKATELL_ID=x CLICKATELL_USERNAME=y CLICKATELL_PASSWORD=z |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment