Skip to content

Commit

Permalink
setup-smtp
Browse files Browse the repository at this point in the history
# 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
bryanlarsen authored and iox committed Aug 12, 2013
1 parent 209aa17 commit 1bbf76c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 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 1bbf76c

Please sign in to comment.