Class: BasicMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- BasicMailer
- Defined in:
- app/models/basic_mailer.rb
Instance Method Summary collapse
Instance Method Details
#mail(options) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'app/models/basic_mailer.rb', line 3 def mail() @recipients = [:recipients] || GlobalConfig.support_email @from = [:from] || GlobalConfig.email_from @cc = [:cc] || "" @bcc = [:bcc] || "" @subject = [:subject] || "" @body = [:body] || {} @headers = [:headers] || {} @charset = [:charset] || "utf-8" @content_type = [:content_type] || "text/plain" end |