This plugin sends XMPP notifications to the users who are registered and set their own Jabber ID. Emails to them are able to be suppressed.
This plugin provides a function to be added ‘wp_mail’ hook in
wp_mail() located in
This plugin requires XMPP Enabled plugin.
xmpp_sender() in this plugin has two filter hooks.
Using ‘abort_xmpp_sender’ hook allow abort all processing. For example, you want to send email independent of user or JID when the subject has a particular keyword. You may add a function which checks the subject and returns
true if keyword is found.
Using ’email_to_jid’ hook allow set/unset JID correspond to email address. Default function of this hook,
email2jid() returns JID when the user is registered to the site and his/her JID is set. If you want to send email but XMPP to a particular user, add a function which returns
- XMPP Enabled plugin is required. Install it and configure.
- Upload the
wp-mail2xmppfolder to your
- Activate the plugin using the
Pluginsmenu in WordPress.
- Go to XMPP Enabled -> wp_mail to XMPP, adjust option.
- Set each user’s JID to Jabber ID field in his/har profile page.
Contributors & Developers
“wp_mail to XMPP” is open source software. The following people have contributed to this plugin.Contributors
- Rearranged settings page.
- Created hooks.
- Public release
- Changed plugin name.
- Initial release.