https://github.com/jimt/smf-mailer
find new Simple Machine Forum messages and mail them
https://github.com/jimt/smf-mailer
cheerio hacktoberfest javascript nodejs smf
Last synced: 3 months ago
JSON representation
find new Simple Machine Forum messages and mail them
- Host: GitHub
- URL: https://github.com/jimt/smf-mailer
- Owner: jimt
- License: mit
- Created: 2016-06-04T06:01:20.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T19:11:49.000Z (over 2 years ago)
- Last Synced: 2025-04-04T14:03:17.392Z (over 1 year ago)
- Topics: cheerio, hacktoberfest, javascript, nodejs, smf
- Language: JavaScript
- Homepage:
- Size: 215 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# smf-mailer
This is a simple JavaScript
[Node.js](https://nodejs.org/en/) program
that is intended to be run periodically (cron)
to monitor the **Recent Posts** page(s) of a
[Simple Machines Forum](http://www.simplemachines.org/)
(SMF) and email all new articles discovered.
**NB** The **main** branch has been updated to work
with SMF 2.1.x. If using SMF 2.0.x, use the version
of this script tagged V2.0.0.
## History
This was originally written in
[CoffeeScript](http://coffeescript.org/) but
has been
[Decaffeinated](http://decaffeinate-project.org/)
to modern JavaScript. And then later converted
to use async/await. It checked the RSS feeds
for new messages, but from Version 4 it was
rewritten to use the **Recent Posts** page(s).
The trade-off between the two methods is that
**Recent Posts** gives you the messages in one
or two page fetches, but there is no indication
of message attachments. The RSS feed method
allows complete message and attachment access,
but at the expense of more http round-trips and
server load (which caused problems with HostPapa
hosting).
## License
MIT