Chapter 12. Sending email

This chapter covers

  • Sending and testing emails with Action Mailer and Email Spec
  • Using a service class to combine updating tickets and sending notifications
  • Adding the ability to subscribe to and unsubscribe from notifications

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. Once you have a user’s validated email address, you can send them updates about important events in the system, such as a ticket being updated.

Before you go about configuring your application ...

Get Rails 4 in Action now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.