Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/xplora1a/mail-to-ntfy/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
This is a simple plugin to send ntfy.sh notifications from wordpress when an email is triggered on the system.
Installation
Create a directory in your wordpressif :
mkdir wordpress/wp-content/plugins/mail-to-ntfy
Copy the files:
cp index.php /var/www/wordpress/wp-content/plugins/mail-to-ntfy/
cp mail-to-ntfy.php /var/www/wordpress/wp-content/plugins/mail-to-ntfy/
Restart webserver:
sudo systemctl restart apache2.service
Configuration:
Using an Adminisrator account set the ntfy.sh channel where you want the notifications to go to.