Sha256: c377ceaf7a610cb551ebdfe9f2b8e4670840206a441a112687f93b423567a915

Contents?: true

Size: 222 Bytes

Versions: 3

Compression:

Stored size: 222 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"]
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mailee-0.4.3 app/app/mailers/foo.rb
mailee-0.4.2 app/app/mailers/foo.rb
mailee-0.3.0 app/app/mailers/foo.rb