Permalink
Browse files

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
  • Loading branch information...
1 parent ed18dd6 commit 8eb6f920325e43cfe1a1a6a8c15985665ce842fc @bryanlarsen bryanlarsen committed Feb 19, 2010
Showing with 9 additions and 0 deletions.
  1. +9 −0 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",
+#}

0 comments on commit 8eb6f92

Please sign in to comment.