github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

webs / rock_mailer

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

an alternative of actionmailer — Read more

  cancel

http://webs.lighthouseapp.com/projects/14732-rock_mailer

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

hai 
webs (author)
Sun Jul 27 14:01:26 -0700 2008
commit  fcdf3597e667784e7a79190b036e4848e4019a62
tree    c599700af857ad01f00a91b242dbfc2c1ec8297e
parent  c5521495c2b3c1824ee859d54b59c7d9e6eae403
rock_mailer /
name age
history
message
file README.textile Loading commit data...
file init.rb
file install.rb
directory 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>

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server