Sha256: a82177ab0fd3920c4267be62c2aa330330685ef47797019005e0522a7ace0816

Contents?: true

Size: 295 Bytes

Versions: 5

Compression:

Stored size: 295 Bytes

Contents

class ApplicationMailer < ActionMailer::Base
  default from: "no-reply@<%= app_name %>.com",
          return_path: "contact@<%= app_name %>.com"

  layout 'mailer'

  def email(to_address, subject, body)
    options = { to: to_address, subject: subject, body: body }
    mail options
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
voyage-1.44.0.14 lib/voyage/templates/application_mailer.rb.erb
voyage-1.44.0.13 lib/voyage/templates/application_mailer.rb.erb
voyage-1.44.0.11 lib/voyage/templates/application_mailer.rb.erb
voyage-1.44.0.12 lib/voyage/templates/application_mailer.rb.erb
voyage-1.44.0.10 lib/voyage/templates/application_mailer.rb.erb