Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

PostageApp Rails Plugin for efficiently sending email

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 tasks
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CHANGELOG
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 init.rb
Octocat-spinner-32 install.rb
README.rdoc

Postage Plugin

Author

The Working Group, Inc

Version

1.0.1

Documentation

postageapp.com/docs

Installation

As with any typical Rails plugin, installation is done with script/plugin:

% script/plugin install git://github.com/theworkinggroup/postage.git

Create the configuration file:

% rake postage:setup API_KEY=YOUR_API_KEY_HERE

This will create a file in RAILS_ROOT/config/initializers/postage.rb that will tell ActionMailer to deliver your emails through Postage App and which API key you are using.

Postage.configure do |config|
  config.api_key = 'YOUR_API_KEY_HERE'
end

To test that the installation succeeded and that the API key is valid, run:

% rake postage:test

Usage

Note: To quickly convert your existing mailers make sure that they inherit from Postage::Mailer instead of ActionMailer::Base like so:

class MyNotifier < Postage::Mailer
  def signup_notification(recipient)
    # ...
  end
end

Please check documentation at postageapp.com/docs/rails

(C) 2009 The Working Group, Inc

Something went wrong with that request. Please try again.