scheduled_reminders/app/mailers/reminder_mailer.rb

7 lines
162 B
Ruby

class ReminderMailer < ApplicationMailer
def schedule_email(reminder, recipient)
@reminder = reminder
mail to: recipient, subject: 'Reminder'
end
end