Sha256: cdd9c4888e0d52c6bd45f35a09f711e1aab4ec2617070a0da363ddc9c7b2dd4b
Contents?: true
Size: 546 Bytes
Versions: 23
Compression:
Stored size: 546 Bytes
Contents
class CabooseRets::RetsMailer < ActionMailer::Base default from: "noreply <noreply@caboosecms.com>" def new_user(agent, user, from_address) @agent = agent @user = user @site = user.site to_address = Rails.env.development? ? 'billy@nine.is' : agent.email bcc_address = Rails.env.development? ? 'billyswifty@gmail.com' : @site.contact_email mail( :to => to_address, :bcc => bcc_address, :from => from_address, :subject => "New User Registration", :reply_to => bcc_address ) end end
Version data entries
23 entries across 23 versions & 1 rubygems