RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: mailer x
Action Mailer in Rails 3
Episode #206Mar 22, 201078 comments

Action Mailer in Rails 3

Action Mailer has been rewritten for Rails 3 providing a much cleaner API with its use of the Mail gem. (12 minutes)
Sending Email (revised)
Episode #61Apr 28, 201271 comments

Sending Email (revised)

Thanks to Action Mailer, sending email in Rails is easy but there are several gotchas to be aware of. Here I show how to send an email upon submitting a form and the configuration options necessary. (8 minutes)
How I Test
Episode #275Jul 18, 2011137 comments

How I Test

Here I show how I would add tests to the password reset feature created in the previous episode. I use RSpec, Capybara, Factory Girl, and Guard to make request, model, and mailer specs. (15 minutes)
Remember Me & Reset Password
Episode #274Jul 11, 2011167 comments

Remember Me & Reset Password

It is easy to create authentication from scratch, but how do we extend it with more features? Here I add a "remember me" check box and a "forgotten password" link. (12 minutes)
Sending HTML Email
Episode #312Jan 02, 201249 comments

Sending HTML Email

HTML email can be difficult to code because any CSS should be made inline. Here I present a few tools for doing this including the premailer-rails3 and roadie gems. (5 minutes)
Beta Invitations
Episode #124Aug 25, 200880 comments

Beta Invitations

You know those invitation systems where a given user can invite a number of other people to join? That's what I show you how to make in this episode. (22 minutes)
Custom Daemon
Episode #129Sep 29, 200863 comments

Custom Daemon

Creating a custom daemon to handle background tasks is surprisingly simple. In this episode I will make a daemon to handle dynamically scheduled tasks. (7 minutes)
Sending Email
Episode #61Jul 23, 200767 comments

Sending Email

This is a brief guide to sending email in Rails. See how to configure the environment, generate a mailer, create a template, and deliver the mail. (7 minutes)