diff --git a/docs/en/02_Developer_Guides/10_Email/index.md b/docs/en/02_Developer_Guides/10_Email/index.md index d65e7e967..78c3a8d86 100644 --- a/docs/en/02_Developer_Guides/10_Email/index.md +++ b/docs/en/02_Developer_Guides/10_Email/index.md @@ -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