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