Class: PoBox::EmailableMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/po_box/emailable_mailer.rb

Instance Method Summary collapse

Instance Method Details

#missing_emailable(mail) ⇒ Object



3
4
5
6
7
8
9
10
# File 'app/mailers/po_box/emailable_mailer.rb', line 3

def missing_emailable(mail)
  mail(
    to: mail.sender,
    subject: "Inbox not found",
    body: "We were unable to find an inbox for this email. Please contact support.",
    content_type: "text/html"
  )
end