mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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
|
Swift_Transport: Swift_SendmailTransport
|
||||||
```
|
```
|
||||||
|
|
||||||
For example, to use SMTP:
|
For example, to use SMTP, create a file mysite/_config/email.yml:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
|
---
|
||||||
|
Name: myemailconfig
|
||||||
|
After:
|
||||||
|
- '#emailconfig'
|
||||||
|
---
|
||||||
SilverStripe\Core\Injector\Injector:
|
SilverStripe\Core\Injector\Injector:
|
||||||
Swift_Transport:
|
Swift_Transport:
|
||||||
class: Swift_SmtpTransport
|
class: Swift_SmtpTransport
|
||||||
|
Loading…
x
Reference in New Issue
Block a user