Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pauloamgomes/cockpit-EmailOnSave
Extend Cockpit core functionality by sending a customized email when a collection is saved.
https://github.com/pauloamgomes/cockpit-EmailOnSave
Last synced: about 2 months ago
JSON representation
Extend Cockpit core functionality by sending a customized email when a collection is saved.
- Host: GitHub
- URL: https://github.com/pauloamgomes/cockpit-EmailOnSave
- Owner: pauloamgomes
- Archived: true
- Created: 2018-01-28T23:57:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-29T23:43:56.000Z (over 6 years ago)
- Last Synced: 2024-08-03T13:02:21.565Z (5 months ago)
- Language: PHP
- Size: 5.86 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cockpit-EmailOnSave
Extend Cockpit core functionality by sending a customized email when a collection is saved. Such functionality can be useful when collections are saved outside of the CMS.
## Installation
1. Confirm that you have cockpit configured to send emails
2. Download zip and extract to 'your-cockpit-docroot/addons' (e.g. cockpitcms/addons/EmailOnSave)
3. Access module settings (http://your-cockpit-site/emailonsave) and confirm that configuration page is loaded## Configuration
On the configuration page there are 2 main sections, the first, on the left, will provide email specific configurations:
* Email To email value (one email or multiple emails separated by comma)
* Email Subject text
* Email Body template, a token string ([:data]) can be used to include the collection dataOn the right, there is a list with all available collections, enabling a specific collection will trigger the email every time the collection is saved.
![Configuration](https://monosnap.com/file/D2KAtXjK4jlPW9B2Fkml7GJIyBbkvF.png)
Using the default template, an email will render as below:
![Email](https://monosnap.com/file/QmW2FY0AcJN65TWQOmqQYhWt9AY5Hd.png)
## Copyright and license
Copyright 2018 pauloamgomes under the MIT license.