Sha256: c97156e2c58cd8cdedca406325de7e3afadb3d4b55aae7522b9b4d31eb70316f
Contents?: true
Size: 637 Bytes
Versions: 93
Compression:
Stored size: 637 Bytes
Contents
class SorceryMailer < ActionMailer::Base default :from => "notifications@example.com" def activation_needed_email(user) @user = user @url = "http://example.com/login" mail(:to => user.email, :subject => "Welcome to My Awesome Site") end def activation_success_email(user) @user = user @url = "http://example.com/login" mail(:to => user.email, :subject => "Your account is now activated") end def reset_password_email(user) @user = user @url = "http://example.com/login" mail(:to => user.email, :subject => "Your password has been reset") end end
Version data entries
93 entries across 38 versions & 1 rubygems