dnadesign/silverstripe-alertmanager

There is no license information available for the latest version (0.2.4) of this package.

Manages emails, session and request alerts

0.2.4 2022-08-23 01:14 UTC

This package is auto-updated.

Last update: 2024-12-23 06:11:37 UTC


README

Manages emails, session and request alerts

Recommend also using v2.1.0 (SS4 compatible due to SwiftMailer < v6): [wildbit/swiftmailer-postmark] (https://github.com/wildbit/swiftmailer-postmark/tree/2.1.0)

If you're using PostMark then you can use the following:

---
Name: somename
After:
  - '#emailconfig'
Only:
  environment: 'live'
---


DNADesign\AlertManager\PostMarkTransport:
  server_token: xxx

SilverStripe\Core\Injector\Injector:
  Swift_Transport: DNADesign\AlertManager\PostMarkTransport
  SilverStripe\Control\Email\Mailer:
    class: DNADesign\AlertManager\PostMarkSwiftMailer

SilverStripe\Control\Email\Email:
  admin_email:
    support@example.com: 'Support'