aerogel-mailer
A mail delivery module for aerogel applications.
Usage
In your application's config.ru:
require 'aerogel/core'
require 'aerogel/mailer' #
# define a new mailer named :test
Aerogel.mailer :test do |f, t|
from f
to t
subject 'test'
body 'hello'
end
# then send email message using this mailer:
Aerogel.email :test, '[email protected]', '[email protected]'
run Aerogel::Application.load