File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Mail Sending in Ruby on Rails" Watch "Mail Sending in Ruby on Rails" New topic

Mail Sending in Ruby on Rails

Selva Chezhian Labam

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: 331

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.
I agree. Here's the link:
subject: Mail Sending in Ruby on Rails
It's not a secret anymore!