Class: Capistrano::Configuration::Mailer
- Inherits:
-
Object
- Object
- Capistrano::Configuration::Mailer
- Defined in:
- lib/capistrano/ext/mailer.rb
Instance Method Summary collapse
Instance Method Details
#send(sender, recipients, subject, text_body, cc = nil, bcc = nil, attachments = {}) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/capistrano/ext/mailer.rb', line 45 def send(sender, recipients, subject, text_body, cc = nil, bcc = nil, = {}) configure = { :from => sender, :to => recipients, :subject => subject, :cc => cc, :bcc => bcc } Capistrano::Configuration::ActionMailer.notify(textbody, , ).deliver end |