Telegram and email
notification for WordPress
This plugin is created for security reason, more presiecly for information about potentially dangerous activities, but you can use to send any messages on any action.
Description
Notify by emails or Telegram chats messages on selected actions.
This plugin is created for security reason, more presiecly for information about potentially dangerous activities.
Message in all action type can be customized. Induvildual settigns in posts and pages also possible.
Features
- Send email on a give user action
- Send email via SMTP on a give user action
- Send Telegram message on a give user action
- Send email or Telegram message via API (Hook) from another theme or plugins
How to use
Install and activate plugin.
For Telegram messages, need to set Telegram Token and Chat ID.
For SMTP email, need to set SMTP server.
Available actions
- Login Success
- Login Failed
- Password Reset
- Password Changed
- E-mail Changed
- Register User Failed
- Register User Success
- User Deleted
- New Post
- Post Updated
- Post Deleted
- New Comment
- Comment Updated
- Comment Marked as Spam
- Comment Deleted
- Comment Approved
- Comment Unapproved
- Contact From 7 E-Mail sent
Available placeholders in message:
- alert-type
- datetime
- site-url
- site-name
- registration-errors
- login-type
- username
- password
- new-password
- user-ip
- user-agent
- user-email
- user-old-email
- user-roles
- user-display-name
- post-date
- post-status
- post-content
- post-title
- post-type
- post-id
- post-name
- comment-date
- comment-id
- comment-post-id
- comment-post-permalink
- comment-author
- comment-author-email
- comment-author-url
- comment-content
- comment-new_status
- comment-old_status
- cf7-[your-field-name] - all fields what user in Contact Form 7 inserted.
Development
You can use this plugin to send notifications from your theme or plugins via hooks.
Template fields can be used:
- user-ip
- datetime
- site-url
- site-name
- user-agent
if user logged in
- username
- user-email
- user-display-name