Remove Jetpack email sharing service

Recently the WordPress Jetpack email sharing service is often abused by spammers. They use the Send to Email Address for sending spam. All these kind of “Tell a Friend” scripts are abused a lot. Here is how to disable email share service in WordPress Jetpack.

Imagine the WordPress scenario where Jetpack’s email sharing service is active on your website, and is abused by spammers.

And suppose Jetpack’s email share service is enabled but you don’t have access to its settings in the WordPress dashboard. Either because you’re the server systems administrator, or you have some other role, but you do want to stop the spam.

As long as you have access to your theme’s functions.php file you can easily disable Jetpack’s email sharing service.

To do so, you can use the following WordPress filter:

function saotn_kill_sharedaddy_email ( $services ) {
    unset( $services['email'] );
    return $services;}
add_filter( 'sharing_services', 'saotn_kill_sharedaddy_email' );

Afterwards you can contact the WordPress site-admin and tell him (her) to disable the service in the Sharing Settings page (yes this hyperlink is intended – just refer them to this post).

Another option is to add reCaptcha to the Email button, as explained on Jetpack’s support pages.

I thought you might find this interesting:   Display commas in WordPress tags

You can find more of such handy filters and code examples here in my WordPress snippets post.


Please Support Saotn.org

Each post on Sysadmins of the North takes a significant amount of time to research, write, and edit. Therefore, your donation helps a lot! For example, a donation of $3 U.S. buys me a cup of coffee, and as you know: things jsut work better with coffee. A $10 U.S. donation buys me one month of web hosting (yes, hosting costs money). But seriously, thank you for any amount. Much appreciated!

Please donate to support this site if you found a post interesting or if it helped you solve a problem. Thanks! (Tip: no Paypal account required)

If you appreciated this post, then please donate using this Paypal button


Jan Reilink

My name is Jan. I am not a hacker, coder, developer, programmer or guru. I am merely a system administrator, doing my daily thing at Vevida in the Netherlands. With over 15 years of experience, my specialties include Windows Server, IIS, Linux (CentOS, Debian), security, PHP, websites & optimization.

Leave a Reply

Be the First to Comment!

Hi! Join the discussion, leave a reply!