Sha256: 515a0d6cf3be8074591fff4128aa5b3c6f423eb69d5791dc590526c08040f6f3

Contents?: true

Size: 613 Bytes

Versions: 1

Compression:

Stored size: 613 Bytes

Contents

class Postman < ActionMailer::Base
  default_url_options[:host] = configatron.emails.host
    
  def welcome_email(user)
    subject     'Welcome to MyWebSite.com!'
    from        configatron.emails.welcome.from
    recipients  user.email
    sent_on     Time.now
    body        :user => user
  end
  
  def password_reset_instructions(user)
    subject       'Password Reset Instructions'
    from          configatron.emails.password_reset_instructions.from
    recipients    user.email
    sent_on       Time.now
    body          :password_reset_url =>  password_reset_url(user.perishable_token)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
base_rails_app-0.0.1 lib/app/models/postman.rb