Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple gen_server client to send messages via messagepub
branch: master
Failed to load latest commit information.
.gitignore first commit added author
messagepub.erl added author

This is a simple gen_server node to send messages on AIM, Google Chat, Email, SMS, or Twitter using messagepub.

It is very easy to use:

1) Sign up for an account at

2) Once you've signed up, get your API key by going to your Account Settings at

3) Compile messagepub.erl:


4) Start the gen_server with your API KEY:

messagepub:start_link("YOUR API KEY").

5) Send messages using the send method. It takes three arguments: the channel (aim, twitter, email, gchat, phone, sms), the address, and the message. See examples below:

messagepub:send("email","", "hello joe").
messagepub:send("twitter", "the_real_shaq", "hi shaq!").
messagepub:send("gchat", "", "Hello friend").
messagepub:send("aim", "username", "Saying hi from erlang").
messagepub:send("sms", "1234567890", "Hi my SMS friend").
messagepub:send("phone", "1234567890", "Hello on the phone").
Something went wrong with that request. Please try again.