Linux 软件免费装

wp_mail to XMPP

开发者 mako09
更新时间 2015年12月9日 17:03
PHP版本: 3.6 及以上
WordPress版本: 4.4
版权: GPLv2 or later
版权网址: 版权信息

标签

email mail notification e-mail notifications wp_mail emails send jabber XMPP e-mails mails wp-mail

下载

0.4 0.4.2 1.0

详情介绍:

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 wp-includes/pluggable.php. This plugin requires XMPP Enabled plugin. Filter Hook The function 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 false.

安装:

  1. XMPP Enabled plugin is required. Install it and configure.
  2. Upload the wp-mail2xmpp folder to your /wp-content/plugins/ directory.
  3. Activate the plugin using the Plugins menu in WordPress.
  4. Go to XMPP Enabled -> wp_mail to XMPP, adjust option.
  5. Set each user's JID to Jabber ID field in his/har profile page.

更新日志:

1.0 0.4 0.3 0.2