private Method

Base.perform_delivery_smtp(mail)

There's no documentation for this item.

Source Code

# File action_mailer/base.rb, line 582
def perform_delivery_smtp(mail)
  destinations = mail.destinations
  mail.ready_to_send

  Net::SMTP.start(smtp_settings[:address], smtp_settings[:port], smtp_settings[:domain], 
      smtp_settings[:user_name], smtp_settings[:password], smtp_settings[:authentication]) do |smtp|
    smtp.sendmail(mail.encoded, mail.from, destinations)
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.