https://github.com/cca/vault_comm_email_share
send an email notification to student when Communication might use their contribution
https://github.com/cca/vault_comm_email_share
Last synced: over 1 year ago
JSON representation
send an email notification to student when Communication might use their contribution
- Host: GitHub
- URL: https://github.com/cca/vault_comm_email_share
- Owner: cca
- License: apache-2.0
- Created: 2016-02-18T22:02:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-24T21:51:10.000Z (over 10 years ago)
- Last Synced: 2025-02-03T12:35:16.782Z (over 1 year ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Send Email on EQUELLA Item Edit
These scripts, in combination, will send an email notifying a user that an item they contributed has been edited, with a link back to the item. CCA uses it notify students that their work has been flagged by Communications & thus will potentially be used for marketing purposes. See section below for full configuration instructions.
You can test run the email script yourself locally:
```sh
> ./item-edited-email.sh 'name@email.edu' 'http://abc.edu/item/url'
```
If you have `sendmail` on installed locally on your laptop, it should work. You could also upload to your server & test from there.
## Setup
- Requires `sendmail` on your server, which most UNIX systems come with
- Read through each script & customize the variables & email message to your liking
- Upload the "item-edited-email.sh" script to _all_ of your EQUELLA app server(s)
+ The provided "deploy.sh" script will do this for you if you fill in your server's addresses or SSH aliases
- Add the "on-submit-asc.js" as an **Advanced Scripting Control** in the desired Contribution Wizard, under the "On-Submit Script" section towards the bottom
## License
[Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)