Sha256: 1f8501ded6b3a8afd087ec0d2fa235f84ccf534a0506643f139ff54c3f5b1f8a

Contents?: true

Size: 241 Bytes

Versions: 5

Compression:

Stored size: 241 Bytes

Contents

class Foo < ActionMailer::Base

  send_with_mailee # easy peasy

  default :from => "Maiz <maiz@softa.com.br>"

  def bar(date=Time.now)
    @greeting = "Hi"
    mail :date => date, :to => ["juanmaiz@gmail.com"], :subject => "Bar"
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mailee-0.6.3 app/app/mailers/foo.rb
mailee-0.6.2 app/app/mailers/foo.rb
mailee-0.6.1 app/app/mailers/foo.rb
mailee-0.6.0 app/app/mailers/foo.rb
mailee-0.5.0 app/app/mailers/foo.rb