mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7706 from dhensby/pulls/4/smtp-mailer-config-docs
DOCS Clarify SMTP mailer setup
This commit is contained in:
commit
7df3c49ff9
@ -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