Sha256: f424f8768d975c37fa738398e1dbf099db3155ab09f1023eada9c33701586f80

Contents?: true

Size: 471 Bytes

Versions: 46

Compression:

Stored size: 471 Bytes

Contents

class BasicMailer < ActionMailer::Base
  
  def mail(options)
    @recipients = options[:recipients] || GlobalConfig.support_email
    @from = options[:from] || GlobalConfig.email_from
    @cc = options[:cc] || ""
    @bcc = options[:bcc] || ""
    @subject = options[:subject] || ""
    @body = options[:body] || {}
    @headers = options[:headers] || {}
    @charset = options[:charset] || "utf-8"
    @content_type = options[:content_type] || "text/plain"
  end
  
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
muck-engine-0.2.26 app/models/basic_mailer.rb
muck-engine-0.2.25 app/models/basic_mailer.rb
muck-engine-0.2.24 app/models/basic_mailer.rb
muck-engine-0.2.23 app/models/basic_mailer.rb
muck-engine-0.2.22 app/models/basic_mailer.rb
muck-engine-0.2.21 app/models/basic_mailer.rb
muck-engine-0.2.20 app/models/basic_mailer.rb
muck-engine-0.2.19 app/models/basic_mailer.rb
muck-engine-0.2.18 app/models/basic_mailer.rb
muck-engine-0.2.17 app/models/basic_mailer.rb
muck-engine-0.2.16 app/models/basic_mailer.rb
muck-engine-0.2.15 app/models/basic_mailer.rb
muck-engine-0.2.13 app/models/basic_mailer.rb
muck-engine-0.2.12 app/models/basic_mailer.rb
muck-engine-0.2.11 app/models/basic_mailer.rb
muck-engine-0.2.10 app/models/basic_mailer.rb
muck-engine-0.2.9 app/models/basic_mailer.rb
muck-engine-0.2.8 app/models/basic_mailer.rb
muck-engine-0.2.7 app/models/basic_mailer.rb
muck-engine-0.2.6 app/models/basic_mailer.rb