]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/action_mailer.rb
Style trace edit form to match trace creation form
[rails.git] / config / initializers / action_mailer.rb
index db6c1b9b7bcff789595643063f35ede3941521a3..9a8ef011bb59ce71610bf11bc89e37fa3c8afb65 100644 (file)
@@ -3,14 +3,5 @@ ActionMailer::Base.smtp_settings = {
   :address => 'localhost',
   :port => 25, 
   :domain => 'localhost',
+  :enable_starttls_auto => false
 }
-
-# Monkey patch to fix return-path bug in ActionMailer 2.2.2
-# Can be removed once we go to 2.3
-module Net
-  class SMTP
-    def sendmail(msgstr, from_addr, *to_addrs)
-      send_message(msgstr, from_addr.to_s.sub(/^<(.*)>$/, "\\1"), *to_addrs)
-    end
-  end
-end