mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
DOCS Clarify SMTP mailer setup
This commit is contained in:
parent
c0efb7bb97
commit
b9405bcca0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user