#26 send emails with Action Mailer - Complete Guide


In this episode we will use ActionMailer to send the User an email after he creates a Post. We will also explore different options and ways to customise our emails.

Action Mailer docs:
Source Code for the Episode:
My text notes for this episode: https://blog.corsego.com/action-mailer-basics

0:00 Intro
0:47 Generate a new Mailer
3:30 Preview the mailer
4:00 Override default FROM address
4:40 Override TO, CC, BCC email address
6:10 Override email SUBJECT
7:34 Send email from controller
9:20 custom email params (current_user, post)
11:34 add sender name to default FROM address
13:45 Attach image
15:15 Display attached image inside email body
16:12 Update signature for all emails

Sign in to join the conversation