Sha256: 90747faa4152905264684f48fd591f302c76fca2da088e80416f753c233b8c47

Contents?: true

Size: 395 Bytes

Versions: 5

Compression:

Stored size: 395 Bytes

Contents

# encoding: UTF-8
module AlchemyCrm
  class SubscriptionsMailer < ActionMailer::Base

    def overview_mail(contact, element)
      @contact = contact
      @subscriptions = contact.subscriptions
      @element = element
      mail(
        :from => element.ingredient("mail_from"),
        :to => contact.email,
        :subject => element.ingredient("mail_subject")
      )
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alchemy_crm-2.0.5 app/mailers/alchemy_crm/subscriptions_mailer.rb
alchemy_crm-2.0.4.1 app/mailers/alchemy_crm/subscriptions_mailer.rb
alchemy_crm-2.1.0a app/mailers/alchemy_crm/subscriptions_mailer.rb
alchemy_crm-2.0.3 app/mailers/alchemy_crm/subscriptions_mailer.rb
alchemy_crm-2.0.2 app/mailers/alchemy_crm/subscriptions_mailer.rb