i have been using actionmailer, but i 开发者_如何学Pythonalways found it to be heavy and unintuitive.
Do you guys know of other solutions that are lighter and more intuitive?
Take a look at the Pony gem (as in Pony Express), which is a lightweight alternative to ActionMailer:
require 'pony'
Pony.mail(:to => 'user@example.com', :from => 'railsapp@example.com',
:subject => 'Hello From Rails')
精彩评论