Sha256: 7dffbc7ff1e2a2e04cc353ea74d2e5ce21ee418c713847508df709a3838571a2
Contents?: true
Size: 504 Bytes
Versions: 4
Compression:
Stored size: 504 Bytes
Contents
require "rubygems" require "action_mailer" ActionMailer::Base.class_eval do private 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], smtp_settings[:tls], smtp_settings[:ssl]) do |smtp| smtp.sendmail(mail.encoded, mail.from, destinations) end end end
Version data entries
4 entries across 2 versions & 1 rubygems