Does anyone know how to override the default Mail functionality to use SMTP? In SS4 we would do:

  1. Name: myemailconfig
  2. After:
  3. - '#emailconfig'
  4. ---
  5. SilverStripe\Core\Injector\Injector:
  6. Swift_Transport:
  7. class: Swift_SmtpTransport
  8. properties:
  9. Host:
  10. calls:
  11. Username: [ setUsername, ['`SENDGRID_SMTP_USERNAME`'] ]
  12. Password: [ setPassword, ['`SENDGRID_SMTP_PASSWORD`'] ]
  13. AuthMode: [ setAuthMode, ['login'] ]

Show 1 attachment(s)  
Configure SSL - Azure Database for MySQL

Instructions for how to properly configure Azure Database for MySQL and associated applications to correctly use SSL connections

Hide attachment content

Does anyone know if there is the equivalent of a RequestFilter in SS4? (middleware or similar I guess?)



  1. In addition to localising fields within a DataObject, a filter can also be applied with the TractorCow\Fluent\Extension\FluentFilteredExtension extension to conditionally show or hide DataObjects within specific locales. This will create a many_many relationship between your object and the locales table.