3909950d0d
Notable changes since 3.2: - Added mailer previews feature based on 37 Signals mail_view gem. - Instrument the generation of Action Mailer messages. The time it takes to generate a message is written to the log. - link_to and url_for generate absolute URLs by default in templates, it is no longer needed to pass only_path: false. - Introduced deliver_later which enqueues a job on the application's queue to deliver emails asynchronously. - Added the show_previews configuration option for enabling mailer previews outside of the development environment.
12 lines
677 B
Text
12 lines
677 B
Text
Action Mailer is a framework for designing email-service layers. These layers
|
|
are used to consolidate code for sending out forgotten passwords, welcome
|
|
wishes on signup, invoices for billing, and any other use case that requires
|
|
a written notification to either a person or another system.
|
|
|
|
Action Mailer is in essence a wrapper around Action Controller and the
|
|
Mail gem. It provides a way to make emails using templates in the same
|
|
way that Action Controller renders views using templates.
|
|
|
|
Additionally, an Action Mailer class can be used to process incoming email,
|
|
such as allowing a weblog to accept new posts from an email (which could even
|
|
have been sent from a phone).
|