Update development docs regarding SMTP
This commit is contained in:
parent
3f1c5bef00
commit
5e57ff485c
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue