O'Reilly logo

Beginning Rails 3 by Rida Al Barazi, Cloves Carneiro Jr.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Sending and Receiving E-Mail

It's a rare web application that doesn't need to send e-mail from time to time. For example, you may want to send messages to welcome users who sign up to your site, relay passwords, or confirm orders placed with an online store. Rails ships with a library called Action Mailer, which provides developers with an easy-to-use yet powerful tool to handle e-mail.

This chapter explains how Action Mailer works and how to use it in your applications. You first learn how to configure it, and then you see a few examples of how to send e-mail in various formats. In addition to sending e-mail, Action Mailer can also receive e-mail, an advanced topic that the chapter touches on briefly.

Note

If you need to get the code ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required