This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README.textile | Sun Jul 27 14:01:26 -0700 2008 | |
| |
init.rb | Sun Jul 27 13:28:30 -0700 2008 | |
| |
install.rb | Sun Jul 27 13:28:30 -0700 2008 | |
| |
lib/ | Sun Jul 27 13:28:30 -0700 2008 |
README.textile
rock_mailer — an alternative of actionmailer.
rock_mailer is an alternative of actionmailer. Released under the MIT licence.
Some code is from Sinatra.
Install
script/plugin install git://github.com/webs/rock_mailer.git
rock_mailer use the configuration of ActionMailer.
Example
Mailers
Mailers are defined in app/mailers.
mail :welcome do
to "jordan@lifeisdead.net"
from "noreply@rockmailer.com"
subject "HAI2U"
attach RAILS_ROOT + '/public/images/logo.jpg'
add_header "X-Mailer", "RockMailer lol!"
set_header "X-Mailer", "hahahhaha"
remove_header "X-Mailer"
end
Views
The view for the mail “welcome” is app/views/mails/welcome.mail.erb :)
More to come!
rock_mailer is currently alpha. More to come, like HTML mails, params, …
Links
- Code: http://github.com/webs/rock_mailer
- Bugtracker: http://webs.lighthouseapp.com/projects/14732-rock_mailer
- Wiki: http://github.com/webs/rock_mailer/wikis
—
Copyright © 2007-2008 Jordan Bracco <jordan@lifeisdead.net>







