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

Version Path
caboose-rets-0.1.180 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.179 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.178 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.177 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.176 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.175 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.174 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.173 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.172 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.171 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.170 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.169 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.168 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.167 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.166 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.165 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.164 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.163 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.162 app/mailers/caboose_rets/rets_mailer.rb
caboose-rets-0.1.161 app/mailers/caboose_rets/rets_mailer.rb