ep_email_notifications/README.md

32 lines
1.7 KiB
Markdown
Raw Normal View History

2013-01-31 15:49:45 +00:00
# Description
2013-02-09 20:36:51 +00:00
This plugin allows users to subscribe to pads and receive email updates when a pad is being modified. You can modify the frequency. This plugin is very much in alpha stage and has a lot of things TODO (See TODO).
2013-01-31 15:49:45 +00:00
# Installation
Make sure an SMTP gateway is installed IE postfix
Configure SPF and RDNS records to ensure proper mail flow <-- Search online
Copy/Edit the below to your settings.json
Connect to a pad, Click on the Share/Embed link and enter in your email address.
2013-02-09 20:36:51 +00:00
Open that pad in ANOTHER BROWSER then begin modifying, you should receive an email when the pad has begun editing and once the pad has gone stale (when everyone stops editing it and a time period passes).
NOTE: You will NOT receive an email if you(the author that registered their email) are currently on or editing that pad!
2013-01-31 15:49:45 +00:00
```
"ep_email_notifications" : {
checkFrequency: 6000, // checkFrequency = How frequently(milliseconds) to check for pad updates -- Move me to the settings file
staleTime: 30000, // staleTime = How stale(milliseconds) does a pad need to be before notifying subscribers? Move me to settings
fromName: "Etherpad SETTINGS FILE!",
fromEmail: "pad@etherpad.org",
urlToPads: "http://beta.etherpad.org/p/", // urlToPads = The URL to your pads note the trailing /
2013-01-31 21:30:48 +00:00
emailServer: { // See https://github.com/eleith/emailjs for settings
host: "127.0.0.1"
}
2013-01-31 15:49:45 +00:00
}
```
# TODO
2013-01-31 01:16:34 +00:00
* Clean up all code
2013-01-31 16:05:55 +00:00
# FUTURE VERSIONS TODO
* v2 - Get the modified contents from the API HTML diff and append that to the Email and make the email from the server HTML not plain text
* v2 - a point to unsubscribe and validate/verify email https://github.com/alfredwesterveld/node-email-verification
* v2 - Keep a record of when a user was last on a pad