Sha256: b214eca56a87e297711caf5ab38ad2cfde38923e3426ab1ca313b2fa7b103280

Contents?: true

Size: 294 Bytes

Versions: 32

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

module WCC::Contentful::App
  class ContactMailer < ::ApplicationMailer
    def contact_form_email(to_email, data)
      @form_data = data

      mail(from: @form_data[:Email], to: to_email, subject: "#{@form_data[:internal_title]} Submission")
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
wcc-contentful-app-1.7.1 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.7.0 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.6.2 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.6.1 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.6.0 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.5.1 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.5.0 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.5.0.rc1 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.4.0 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.4.0.rc3 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.4.0.rc2 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.3.2 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.4.0.rc1 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.3.1 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.3.0 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.2.1 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.2.0 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.1.2 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.1.1 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.1.0 app/mailers/wcc/contentful/app/contact_mailer.rb