Update development docs regarding SMTP

This commit is contained in:
Adam Loving 2014-06-03 16:18:32 -07:00
parent 3f1c5bef00
commit 5e57ff485c
2 changed files with 20 additions and 0 deletions

View File

@ -121,6 +121,16 @@ Edit /etc/postgresql/9.1/main/pg_hba.conf to have this:
# Press enter to accept all the defaults
/etc/init.d/redis_6379 start
## Sending email (SMTP)
By default, development.rb will attempt to connect locally to send email.
```rb
config.action_mailer.smtp_settings = { address: "localhost", port: 1025 }
```
Set up [MailCatcher](https://github.com/sj26/mailcatcher) so the app can intercept
outbound email and you can verify what is being sent.
## Phantomjs

View File

@ -173,6 +173,16 @@ ImageMagick is used for generating avatars (including for test fixtures).
brew install imagemagick
## Sending email (SMTP)
By default, development.rb will attempt to connect locally to send email.
```rb
config.action_mailer.smtp_settings = { address: "localhost", port: 1025 }
```
Set up [MailCatcher](https://github.com/sj26/mailcatcher) so the app can intercept
outbound email and you can verify what is being sent.
## Setting up your Discourse