Merge pull request #308 from creative-commoners/pulls/4/sendmail

ENH Use Swift_SendmailTransport for new projects
This commit is contained in:
Maxime Rainville 2021-08-20 13:08:16 +12:00 committed by GitHub
commit e93ef98999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

9
app/_config/email.yml Normal file
View File

@ -0,0 +1,9 @@
# See https://docs.silverstripe.org/en/4/developer_guides/email/ for additional information about setting up email
---
Name: project-emailconfig
After:
- '#emailconfig'
---
SilverStripe\Core\Injector\Injector:
Swift_Transport:
class: Swift_SendmailTransport