DOCS Clarify SMTP mailer setup

This commit is contained in:
Daniel Hensby 2017-12-14 13:07:37 +00:00
parent c0efb7bb97
commit b9405bcca0
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -18,9 +18,14 @@ SilverStripe\Core\Injector\Injector:
Swift_Transport: Swift_SendmailTransport
```
For example, to use SMTP:
For example, to use SMTP, create a file mysite/_config/email.yml:
```yml
---
Name: myemailconfig
After:
- '#emailconfig'
---
SilverStripe\Core\Injector\Injector:
Swift_Transport:
class: Swift_SmtpTransport