Sha256: 9ce28149bb8f349c4ffbb093db046e721575a776f3eb6dffa7284474ef1f1832

Contents?: true

Size: 327 Bytes

Versions: 9

Compression:

Stored size: 327 Bytes

Contents

module UcbRails
  class TestMailer < ActionMailer::Base
    layout false

    # Verify email configuration, from irb (e.g.):
    #
    #   TestMailer.test('email@example.com').deliver
    def test(email)
      subject = "#{UcbRails[:email_subject_prefix]} Test Email"

      mail(to: email, subject: subject)
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ucb_rails-0.0.14 app/mailers/ucb_rails/test_mailer.rb
ucb_rails-0.0.13 app/mailers/ucb_rails/test_mailer.rb
ucb_rails-0.0.12 app/mailers/ucb_rails/test_mailer.rb
ucb_rails-0.0.11 app/mailers/ucb_rails/test_mailer.rb
ucb_rails-0.0.10 app/mailers/ucb_rails/test_mailer.rb
ucb_rails-0.0.9 app/mailers/ucb_rails/test_mailer.rb
ucb_rails-0.0.8 app/mailers/ucb_rails/test_mailer.rb
ucb_rails-0.0.7 app/mailers/ucb_rails/test_mailer.rb
ucb_rails-0.0.6 app/mailers/ucb_rails/test_mailer.rb