Sha256: d09d6ddc0ff6bf35be7c95f000c747bc9a456635b3c192175a98e54c21d07b55

Contents?: true

Size: 344 Bytes

Versions: 12

Compression:

Stored size: 344 Bytes

Contents

class UserMailer < ActionMailer::Base  
  class Error < StandardError; end

  def welcome(user)
    @recipients   = "#{user.email}"
    @from         = "Mycompany <root@localhost>"
    @sent_on      = Time.now
    @subject      = 'Your account has been activated!'
    @body[:url]   = "http://localhost:3000/"
    @body[:user]  = user
  end
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
brendan-skynet-0.9.3.1 examples/rails_mysql_example/app/models/user_mailer.rb
brendan-skynet-0.9.3.2 examples/rails_mysql_example/app/models/user_mailer.rb
brendan-skynet-0.9.3.3 examples/rails_mysql_example/app/models/user_mailer.rb
brendan-skynet-0.9.3.5 examples/rails_mysql_example/app/models/user_mailer.rb
brendan-skynet-0.9.3.6 examples/rails_mysql_example/app/models/user_mailer.rb
brendan-skynet-0.9.3.7 examples/rails_mysql_example/app/models/user_mailer.rb
brendan-skynet-0.9.3.8 examples/rails_mysql_example/app/models/user_mailer.rb
brendan-skynet-0.9.31 examples/rails_mysql_example/app/models/user_mailer.rb
brendan-skynet-0.9.32 examples/rails_mysql_example/app/models/user_mailer.rb
brendan-skynet-0.9.33 examples/rails_mysql_example/app/models/user_mailer.rb
timocratic-skynet-0.9.4 examples/rails_mysql_example/app/models/user_mailer.rb
skynet-0.9.3 examples/rails_mysql_example/app/models/user_mailer.rb