{"id":26947,"date":"2013-12-28T03:07:30","date_gmt":"2013-12-28T03:07:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-mail2xmpp\/"},"modified":"2015-12-09T09:02:37","modified_gmt":"2015-12-09T09:02:37","slug":"wp-mail2xmpp","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/wp-mail2xmpp\/","author":244734,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"4.4.34","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"wp_mail to XMPP","header_author":"Mako N","header_description":"","assets_banners_color":"","last_updated":"2015-12-09 09:02:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/wp-mail2xmpp\/","header_author_uri":"http:\/\/pasero.net\/~mako\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2407,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.4","0.4.2","1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3152,19435,267,2483,17110],"plugin_category":[41],"plugin_contributors":[96313],"plugin_business_model":[],"class_list":["post-26947","plugin","type-plugin","status-publish","hentry","plugin_tags-e-mail","plugin_tags-e-mails","plugin_tags-email","plugin_tags-emails","plugin_tags-jabber","plugin_category-communication","plugin_contributors-mako09","plugin_committers-mako09"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-mail2xmpp.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>This plugin provides a function to be added 'wp_mail' hook in <code>wp_mail()<\/code> located in <code>wp-includes\/pluggable.php<\/code>.<\/p>\n\n<p>This plugin requires <a href=\"http:\/\/wordpress.org\/plugins\/xmpp-enabled\/\">XMPP Enabled<\/a> plugin.<\/p>\n\n<h4>Filter Hook<\/h4>\n\n<p>The function <code>xmpp_sender()<\/code> in this plugin has two filter hooks.<\/p>\n\n<p>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 <code>true<\/code> if keyword is found.<\/p>\n\n<p>Using 'email_to_jid' hook allow set\/unset JID correspond to email address.  Default function of this hook, <code>email2jid()<\/code> 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 <code>false<\/code>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/xmpp-enabled\/\">XMPP Enabled<\/a> plugin is required.  Install it and configure.<\/li>\n<li>Upload the <code>wp-mail2xmpp<\/code> folder to your <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin using the <code>Plugins<\/code> menu in WordPress.<\/li>\n<li>Go to XMPP Enabled -&gt; wp_mail to XMPP, adjust option.<\/li>\n<li>Set each user's JID to Jabber ID field in his\/har profile page.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Rearranged settings page.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Created hooks.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Public release<\/li>\n<li>Changed plugin name.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Send almost all notifications via XMPP instead of email","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/26947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=26947"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mako09"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=26947"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=26947"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=26947"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=26947"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=26947"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=26947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}