Mailrelay gem for Ruby and Ruby on Rails
Clone or download
Fernando Morgenstern
Latest commit ed7a50d Oct 26, 2012
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Republish gem which was empty in first build. Add require 'rubygems' Jun 25, 2012
lib Adding project to git. Jun 25, 2012 Update API documentation url. Oct 26, 2012
mailrelay.gemspec Fixing dependency for activesupport. Oct 26, 2012


Mailrelay gem is a simple Ruby wrapper for API. You can do a large number of operations like managing subscribers and campaigns, sending your newsletters, getting your stats data, etc.


Simply run:

gem install mailrelay


You can check the API documentation to view a list of all available functions. All functions can be called with this wrapper.

If you want to create a subscriber, simply use:

require 'rubygems'
require 'mailrelay'

# Set your account hostname and api key here
hostname = 'your_account_hostname'
api_key = 'your_api_key'

api = hostname, api_key

api.addSubscriber :email => '', :name => 'Name'