Sha256: 125c3da7815f2acd4b141eaef0e1c8c1299f87ed8b09e15db83ea82fba645bce

Contents?: true

Size: 292 Bytes

Versions: 38

Compression:

Stored size: 292 Bytes

Contents

module Alchemy
  class Messages < ActionMailer::Base

    def contact_form_mail(message, mail_to, mail_from, subject)
      @message = message
      mail(
        from: mail_from,
        to: mail_to,
        reply_to: message.try(:email),
        subject: subject
      )
    end

  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/mailers/alchemy/messages.rb
alchemy_cms-3.1.3 app/mailers/alchemy/messages.rb
lc_alchemy_cms-3.2.1 app/mailers/alchemy/messages.rb
lc_alchemy_cms-3.2.0 app/mailers/alchemy/messages.rb
alchemy_cms-3.2.0 app/mailers/alchemy/messages.rb
alchemy_cms-3.2.0.rc1 app/mailers/alchemy/messages.rb
alchemy_cms-3.2.0.beta app/mailers/alchemy/messages.rb
alchemy_cms-2.9.1 app/mailers/alchemy/messages.rb
alchemy_cms-3.1.1 app/mailers/alchemy/messages.rb
alchemy_cms-3.0.4 app/mailers/alchemy/messages.rb
alchemy_cms-3.1.0 app/mailers/alchemy/messages.rb
alchemy_cms-3.1.0.rc3 app/mailers/alchemy/messages.rb
alchemy_cms-3.1.0.rc2 app/mailers/alchemy/messages.rb
alchemy_cms-3.1.0.rc1 app/mailers/alchemy/messages.rb
alchemy_cms-3.1.0.beta6 app/mailers/alchemy/messages.rb
alchemy_cms-3.1.0.beta5 app/mailers/alchemy/messages.rb
alchemy_cms-3.1.0.beta4 app/mailers/alchemy/messages.rb
alchemy_cms-3.0.3 app/mailers/alchemy/messages.rb
alchemy_cms-3.1.0.beta3 app/mailers/alchemy/messages.rb
alchemy_cms-3.1.0.beta2 app/mailers/alchemy/messages.rb