Project

mailrelay

0.0
No commit activity in last 3 years
No release in over 3 years
A simple wrapper for Mailrelay's API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

 Project Readme

Mailrelay

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

Installation

Simply run:

gem install mailrelay

Examples

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 = Mailrelay::API.new hostname, api_key

api.addSubscriber :email => 'user@example.org', :name => 'Name'