Rails 4.2 includes some handy new features in Action Mailer. In this brief tutorial, we'll walk through how to send emails step-by-step using these new features!

Source Code

For transactional email, consider using a service such as:

For newsletters, announcements, and bulk email, consider using a service such as:

For more details, check out Action Mailer Basics and the full mail method documentation.

If you're new to Rails in general, check out our Ruby on Rails: Level I online course. You can start this course for free today and begin learning how to design full-featured Rails apps with confidence. Then take your Rails skills to the next level in our Level II course.

Thanks for watching and please feel free to leave a comment below!