From 1bbf76c7cebe401ef2002433cd20dfbaf46145ed Mon Sep 17 00:00:00 2001 From: Bryan Larsen Date: Mon, 3 Jun 2013 16:38:24 +0200 Subject: [PATCH] setup-smtp # Setup SMTP If your web server has Postfix or Sendmail set up to deliver email without requiring a password, rails should now be delivering email upon activation. However, most servers will require some email setup, so we'll put in a commented block that you can uncomment and adjust if you have a mail server available: SHOW_PATCH --- config/initializers/smtp.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 config/initializers/smtp.rb diff --git a/config/initializers/smtp.rb b/config/initializers/smtp.rb new file mode 100644 index 0000000..8a487c7 --- /dev/null +++ b/config/initializers/smtp.rb @@ -0,0 +1,9 @@ +#ActionMailer::Base.delivery_method = :smtp +#ActionMailer::Base.smtp_settings = { +# :address => "smtp.example.com", +# :port => 25, +# :domain => "example.com", +# :authentication => :login, +# :user_name => "username", +# :password => "password", +#}