Download the PHP package elliotsawyer/managed-emails without Composer
On this page you can find all versions of the php package elliotsawyer/managed-emails. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elliotsawyer/managed-emails
More information about elliotsawyer/managed-emails
Files in elliotsawyer/managed-emails
Package managed-emails
Short Description Centrally manage emails used through a SilverStripe site
License BSD-4
Homepage http://silverstripe.org
Informations about the package managed-emails
Managed Emails
Do you have a bunch of emails to send out to your users whenever they do some specific thing that needs their attention? Centrally manage them in the CMS, and refer to them in your codebase using a lookup label field. Content-manage your subject, message body, from address, and CC/BCC/ReplyTo addresses, with support for variables provided by a DataObject. Supports direct sending, or queuedjobs sending if it's available.
This is a ModelAdmin for centrally managing emails within the CMS:
- [x] Specify a from address
- [x] Specify a subject
- [x] Compose an email body
- [x] Add additional recipients, in addition to user supplied ones
- [x] Queue an email to be sent, or configure it to send immediately
Installation
- add the repository to your composer.json. This is a private repo, so composer will not find it on packagist
composer require elliotsawyer/managed-emails
- Run
vendor/bin/sake dev/build flush=
Configuration
There are two fields that can be configured.
Usage
Define a new Managed Email in the "Email management" admin area:
- Set a label: this is the identifier you'll "look up" within your code
- Configure any other recipients: To, CC, BCC, and Reply-To addresses
- Set a From address, Subject, and Message body
- You can make references to specific variables in your message body, and pass them into into the message body from your code.
- If you have Queued Jobs installed, your message will be queued for sending. If not, it will send immediately
Copyright
© 2019 Elliot Sawyer, CryptoPay Limited. All rights reserved.
Support
Like my work? Consider shouting me a coffee or a small donation if this module helped you solve a problem. I accept cryptocurrency at the following addresses:
- Bitcoin: 12gSxkqVNr9QMLQMMJdWemBaRRNPghmS3p
- Bitcoin Cash: 1QETPtssFRM981TGjVg74uUX8kShcA44ni
- Litecoin: LbyhaTESx3uQvwwd9So4sGSpi4tTJLKBdz