Nextcloud apps allowing to send once a month a notification per mail to the users with some status information
Перейти к файлу
dependabot[bot] c77e900598
Merge pull request #188 from nextcloud/dependabot/npm_and_yarn/cypress-13.15.2
2024-11-09 02:36:35 +00:00
.github chore: update workflows from templates 2024-08-23 10:15:28 +02:00
appinfo chore(release): Prepare for 1.4.0 release 2024-08-01 17:35:49 +02:00
cypress
js chore(assets): Recompile assets 2024-05-04 13:26:12 +00:00
lib
src
templates
tests
.eslintrc.js
.gitignore
.nextcloudignore
.php-cs-fixer.dist.php
CHANGELOG.md chore(release): Prepare for 1.4.0 release 2024-08-01 17:35:49 +02:00
COPYING
README.md
babel.config.js
composer.json
composer.lock chore(dev-deps): Bump nextcloud/ocp package 2024-10-06 03:09:34 +00:00
cypress.config.js
krankerl.toml
package-lock.json chore(deps-dev): Bump cypress from 13.15.1 to 13.15.2 2024-11-09 02:29:45 +00:00
package.json chore(deps-dev): Bump cypress from 13.15.1 to 13.15.2 2024-11-09 02:29:45 +00:00
psalm.xml
stylelint.config.js
test
webpack.js

README.md

Montly Status email

Send monthly status mails to users. This app doesn't provide a user interface.

Per default it sends a summary of used storage along with some usage hints.

The default messages are in German.

Editing the messages sent

The messages sent to users are defined at lib/Service/MessageProvider.php.

To overwrite the default messages, create a new class inheriting from MessageProvider and overwrite the desired methods.

Then configure your MessageProvider in config.php:

[
   ...,
   'status-email-message-provider' => '\OCA\MyCustomApp\MyMessageProvider',
]

Mail sending limits

In order to avoid mail floods, the app sends mails in hourly batches. Default maximum is 1000 mails per hour. This limit can be changed via status-email-max-mail-sent in the app config:

php occ config:app:set monthly_status_email status-email-max-mail-sent --value=2500

Sending welcome mails

By default, this app sends a welcome mail to new users after they logged in for the first time. This can be disabled with the following switch in config.php:

[
    ...,
    'status-email-send-first-login-mail' => false
]

Licensing

This project is licensed under AGPL-3.0-or-later.