Sha256: bc482850b823b1416d6d745d9953fb87c2c27d31c70b0740823b7f3ecc4f880d
Contents?: true
Size: 582 Bytes
Versions: 31
Compression:
Stored size: 582 Bytes
Contents
class InvitationMailer < ActionMailer::Base def invitation(invitation) @invitation = invitation subject = I18n.t(:subject, :scope => [:saucy, :mailers, :invitation_mailer, :invititation], :default => "Invitation") mail :to => invitation.email, :subject => subject, :reply_to => invitation.sender_email, :from => sender_name_and_support_address end private def sender_name_and_support_address %{"#{@invitation.sender_name}" <#{Saucy::Configuration.mailer_sender}>} end end
Version data entries
31 entries across 31 versions & 1 rubygems