You are previewing Rails 3 in Action.

Rails 3 in Action

Cover of Rails 3 in Action by Ryan Bigg... Published by Manning Publications
O'Reilly logo

Chapter 12. Sending email

This chapter covers

  • Sending email with Action Mailer and the mail gem
  • Subscribing via email to specific events within the system
  • Connecting to a real-world email server to send emails
  • Receiving emails using Action Mailer

In the previous chapter, you implemented tagging for your application, which allows users to easily categorize and search for tickets.

In this chapter, you’ll begin to send emails to your users. When a user signs up to Ticketee, they use their email address as a way for the system to uniquely identify them. You then verify that the address is valid by sending the user a confirmation email. With a user’s validated email address, you’re able to send them updates for important events in the system, ...

The best content for your career. Discover unlimited learning on demand for around $1/day.