Sha256: 664264e4282bf7e6ee743a22f6febb23c1a37840a49ed0e102711a6827677985

Contents?: true

Size: 424 Bytes

Versions: 8

Compression:

Stored size: 424 Bytes

Contents

class TestMailer < ActionMailer::Base
  default :subject  => 'hello', 
          :to       => 'sheldon@bigbangtheory.com', 
          :from     => 'leonard@bigbangtheory.com'
          
  def simple_message
    mail
  end

  def tagged_message
    mail(:tag => 'delivery')
  end

  def multipart_message
    mail(:subject => "Your invitation to join Mixlr.") do |format|
      format.text
      format.html
    end
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
postmark-rails-0.4.2 spec/fixtures/models/test_mailer.rb
fishman-postmark-rails-0.4.1 spec/fixtures/models/test_mailer.rb
chimpster-rails-0.1.2 spec/fixtures/models/test_mailer.rb
chimpster-rails-0.1.1 spec/fixtures/models/test_mailer.rb
chimpster-rails-0.1.0 spec/fixtures/models/test_mailer.rb
postmark-rails-0.4.1 spec/fixtures/models/test_mailer.rb
postmark-rails-0.4.0 spec/fixtures/models/test_mailer.rb
postmark-rails-0.3.0 spec/fixtures/models/test_mailer.rb