Module: Login::MailConfig

Included in:
PasswordMailer
Defined in:
lib/login/mail_config.rb

Overview

The purpose of this module is to provide an application some control over how the messages are sent without having to overwrite blocks of code. We do this through simple constants. The two constants currently are:

SUBJECT_PREFIX

Text that is before every message subject. By default this is not used. You may want to put something like the website here.

NOTIFICATIONS_FROM

Who the message appears to be coming from. By default this is [email protected]

If you want to access these same values in your own mailers just mix them into your mailers and the methods will be available.