summaryrefslogtreecommitdiffstats
path: root/lib/registration.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/registration.rb')
-rw-r--r--lib/registration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/registration.rb b/lib/registration.rb
index 4f2db17..b82cdb4 100644
--- a/lib/registration.rb
+++ b/lib/registration.rb
@@ -12,7 +12,7 @@ def send_registration_emails_for(band, pdf_url)
mail.body = erb :registration_email, :layout => false, :locals => { :pdf_url => pdf_url }
if settings.environment != :test && settings.respond_to?(:smtp)
- mail.delivery_method :smtp, :address => settings.smtp['address'], :port => settings.smtp['port']
+ mail.delivery_method :smtp, settings.smtp
end
mail.deliver!
rescue Net::SMTPError => e