Sha256: 7f8d42030af3d8460061938c1682f0dc5d63878d95d4a452439867886b9916fa

Contents?: true

Size: 731 Bytes

Versions: 11

Compression:

Stored size: 731 Bytes

Contents

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
class DropboxMailer < ActionMailer::Base

  def dropbox_notification(user, from, email, mediator_links)
    I18n.locale = Setting.locale
    @mediator_links = mediator_links.join("\n")
    @subject        = email.subject
    @body           = email.body_plain

    mail :subject => I18n.t(:dropbox_notification_subject, :subject => email.subject),
         :to => user.email,
         :from => from,
         :date => Time.now
  end
  
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fat_free_crm-0.13.6 app/mailers/dropbox_mailer.rb
fat_free_crm-0.13.5 app/mailers/dropbox_mailer.rb
fat_free_crm-0.13.4 app/mailers/dropbox_mailer.rb
fat_free_crm-0.13.3 app/mailers/dropbox_mailer.rb
fat_free_crm-0.13.2 app/mailers/dropbox_mailer.rb
fat_free_crm-0.12.3 app/mailers/dropbox_mailer.rb
fat_free_crm-0.12.2 app/mailers/dropbox_mailer.rb
fat_free_crm-0.13.1 app/mailers/dropbox_mailer.rb
fat_free_crm-0.12.1 app/mailers/dropbox_mailer.rb
fat_free_crm-0.13.0 app/mailers/dropbox_mailer.rb
fat_free_crm-0.12.0 app/mailers/dropbox_mailer.rb