Sha256: 93242a26c6f88ad84bdb8106aa0eae62abc6cdb2ed535ea3efbf23f17ce8e954

Contents?: true

Size: 320 Bytes

Versions: 88

Compression:

Stored size: 320 Bytes

Contents

# frozen_string_literal: true

module Alchemy
  class MessagesMailer < BaseMailer
    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

88 entries across 88 versions & 1 rubygems

Version Path
alchemy_cms-6.0.0.pre.rc1 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.0.0.pre.b6 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.0.0.pre.b5 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.0.0.pre.b4 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.0.0.b3 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.0.0.b2 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.0.0.b1 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.2.1 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.1.4 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.0.4 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.1.3 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.2.0 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.2.0.rc1 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.2.0.b1 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.1.2 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.1.1 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.0.3 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.1.0 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.0.2 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.1.0.rc1 app/mailers/alchemy/messages_mailer.rb