webs / rock_mailer
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
README.textile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ |
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>

