Sha256: 2e1e2822e33fb2ee69b389c70fae944dba9a95aabc0c6b66c0fabf6ceb0f127a

Contents?: true

Size: 288 Bytes

Versions: 16

Compression:

Stored size: 288 Bytes

Contents

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

16 entries across 16 versions & 1 rubygems

Version Path
alchemy_cms-3.6.7 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.6.6 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.6.5 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.6.4 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.6.3 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.6.2 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.6.1 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-4.0.0.beta app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.6.0 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.5.0 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.4.2 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.5.0.rc2 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.5.0.rc1 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.4.1 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.4.0 app/mailers/alchemy/messages_mailer.rb
alchemy_cms-3.4.0.rc1 app/mailers/alchemy/messages_mailer.rb