iPhone Development Forum iPhone SDK, iPhone OS Beta 8 is released
Jun 15

I struggled a little with sending emails using Ruby on Rails framework. But you have to watch out for few things before you cry out for help.

1. Set the configuration at the end of everything in environment.rb

2. Make sure that you call the actionmailer derived controller method with deliver_

3. Create 2 view for html and plain text emails

I did a sample and bundled it here for easy example. Please download from here for your convenience.

Help from Wiki: http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer


Leave a Reply