wood burning stoves 2.0*
The moose likes Ruby and the fly likes Mail Sending in Ruby on Rails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Mail Sending in Ruby on Rails" Watch "Mail Sending in Ruby on Rails" New topic
Author

Mail Sending in Ruby on Rails

Selva Chezhian Labam
Greenhorn

Joined: Sep 08, 2010
Posts: 11
Hi All,
How send email to the users through Ruby on Rails? I have the users' email id in my database.
Sumit Bisht
Ranch Hand

Joined: Jul 02, 2008
Posts: 329

There's a subframework within Rails, Action Mailer, that is used to send/receive emails.
Try using script/generate mailer <mailername> <mail action> <mail action2> for a quick review.
See, http://am.rubyonrails.org
 
jQuery in Action, 2nd edition
 
subject: Mail Sending in Ruby on Rails