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.1.10 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.1.9 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.1.8 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.1.7 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.1.6 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.1.5 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.0.14 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.1.4 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-7.0.0.pre.a app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.0.13 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.1.3 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.1.2 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.1.1 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.1.0 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.0.12 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.0.11 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.0.10 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.3.8 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-6.0.9 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-5.3.7 app/mailers/alchemy/messages_mailer.rb