Class: InternalNotificationMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- InternalNotificationMailer
- Includes:
- SendgridSmtpApi::InternalMailerHeaders
- Defined in:
- app/mailers/internal_notification_mailer.rb
Overview
Shared base for internal team / ops notification mailers.
Holds all cross-cutting configuration (SendGrid engagement-tracking opt-out,
default sender, layout, delivery job, URL options, view helpers) for the
domain mailers extracted from the former InternalMailer god object. Each
domain mailer (EdiMailer, WorkforceMailer, …) inherits from this class; the
+prepend+ below splices into every subclass's ancestor chain so the
+X-SMTPAPI+ header applies to all internal mail.
Direct Known Subclasses
DeliveryMailer, EdiMailer, ExpressHoldAlertMailer, FinancialsMailer, InternalReportsMailer, InventoryMailer, OrdersMailer, OverdueToShipAlertMailer, ProblematicDeliveryDigestMailer, RmaMailer, SalesMailer, SchedulerAdminMailer, SupportMailer, SystemMailer, TrainingMailer, WorkforceMailer
Instance Method Summary collapse
Methods included from SendgridSmtpApi::InternalMailerHeaders
Methods inherited from ApplicationMailer
Instance Method Details
#default_url_options ⇒ Object
28 29 30 |
# File 'app/mailers/internal_notification_mailer.rb', line 28 def UrlHelper.({ host: CRM_HOSTNAME }) end |