Skip to content
/ postage Public
forked from SFEley/postage

PostageApp Rails Plugin for efficiently sending email

License

Notifications You must be signed in to change notification settings

celect/postage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postage Plugin

Author

The Working Group, Inc

Version

1.0.2

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

© 2009 The Working Group, Inc

About

PostageApp Rails Plugin for efficiently sending email

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%