Sha256: 140d1100ec7ba204f8e82d765e7a1a9494d8a718bccd615042871c43675d256f

Contents?: true

Size: 290 Bytes

Versions: 6

Compression:

Stored size: 290 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

6 entries across 6 versions & 1 rubygems

Version Path
alchemy_cms-3.3.3 app/mailers/alchemy/messages.rb
alchemy_cms-3.3.2 app/mailers/alchemy/messages.rb
alchemy_cms-3.3.1 app/mailers/alchemy/messages.rb
alchemy_cms-3.3.0 app/mailers/alchemy/messages.rb
alchemy_cms-3.3.0.rc2 app/mailers/alchemy/messages.rb
alchemy_cms-3.3.0.rc1 app/mailers/alchemy/messages.rb