Module: PresendMailer

Extended by:
ActiveSupport::Concern
Defined in:
app/mailers/concerns/presend_mailer.rb

Overview

Include PresendMailer if you want to ensure that an invitation has been sent prior to sending the first message. This use case can occur when a user is invited “silently” (e.g., via SIS)

PresendMailer sends an invitation email to a user if: - The user in an invitee - The credential is SMS (MVP requirement - will include email in the future) - The credential has not received any prior sent mails

There are multiple invitation mailers - we determine the correct one based on the user’s circumstances.

== Requirements: Parameterized mailer is required in this module, and is included