ActionMailer

Download ruby-on-rails eBook

Introduction

Action Mailer allows you to send emails from your application using mailer classes and views. Mailers work very similarly to controllers. They inherit from ActionMailer::Base and live in app/mailers, and they have associated views that appear in app/views.

Remarks

It is advisable to process the sending of email asynchronously so as not to tie up your web server. This can be done through various services such as delayed_job.

Related Examples

Stats

101 Contributors: 8
Wednesday, June 14, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook