2023-05-13 04:11:25 +02:00
|
|
|
---
|
|
|
|
Name: app-emailconfig
|
|
|
|
After:
|
|
|
|
- '#emailconfig'
|
|
|
|
---
|
|
|
|
SilverStripe\Core\Injector\Injector:
|
|
|
|
Swift_Transport:
|
|
|
|
class: Swift_SendmailTransport
|
|
|
|
|
2024-05-06 14:03:21 +02:00
|
|
|
#SilverStripe\Control\Email\Email:
|
|
|
|
# admin_email:
|
|
|
|
# support@example.com: 'Support team'
|
|
|
|
|
2023-05-13 04:11:25 +02:00
|
|
|
#SilverStripe\Core\Injector\Injector:
|
|
|
|
# Swift_Transport:
|
|
|
|
# class: Swift_SmtpTransport
|
|
|
|
# properties:
|
|
|
|
# Host: smtp.host.com
|
|
|
|
# Port: <port>
|
|
|
|
# Encryption: tls
|
|
|
|
# calls:
|
|
|
|
# Username: [ setUsername, ['`APP_SMTP_USERNAME`'] ]
|
|
|
|
# Password: [ setPassword, ['`APP_SMTP_PASSWORD`'] ]
|
|
|
|
# AuthMode: [ setAuthMode, ['login'] ]
|