Title: Validation
Last modified: August 30, 2016

---

# Validation

 *  [S3Bubble](https://wordpress.org/support/users/s3bubble/)
 * (@s3bubble)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/validation-28/)
 * Hi All,
 * Looks like a great plugin i have recently been getting spammed by lots of fake
   email like below.
 * [ojaisexau@gmailzdfsdfds.com](https://wordpress.org/support/topic/validation-28/ojaisexau@gmailzdfsdfds.com?output_format=md)
 * The problem is these still seem to validate with your plugin how can i get around
   this?
 * Thanks
 * [https://wordpress.org/plugins/mailgun-email-validator/](https://wordpress.org/plugins/mailgun-email-validator/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jesin A](https://wordpress.org/support/users/jesin/)
 * (@jesin)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/validation-28/#post-6698403)
 * Hello,
 * Unfortunately Mailgun’s validation service doesn’t check if an email exists.
 * You can use the following alternative.
 * Create a file inside **wp-content/mu-plugins** (create this directory if it doesn’t
   exist) and place the following code:
 *     ```
       <?php
   
       add_filter( 'is_email', 'block_spammer_email' );
   
       function block_spammer_email( $email ) {
           if ( 'ojaisexau@gmailzdfsdfds.com' == $email ) {
               return false;
           }
   
           return $email;
       }
       ```
   
 * Also if you include a simple JavaScript on the comment form most of the spambots
   will fail.
 * [https://github.com/jesinwp/wp-blockspam-js](https://github.com/jesinwp/wp-blockspam-js)
 * This simple plugin adds JS code to the comment form which is completely transparent
   to your visitors. This will block 90% of spammers.

Viewing 1 replies (of 1 total)

The topic ‘Validation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mailgun-email-validator_777777.svg)
 * [Mailgun Email Validator](https://wordpress.org/plugins/mailgun-email-validator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailgun-email-validator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailgun-email-validator/)
 * [Active Topics](https://wordpress.org/support/plugin/mailgun-email-validator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailgun-email-validator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailgun-email-validator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jesin A](https://wordpress.org/support/users/jesin/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/validation-28/#post-6698403)
 * Status: not resolved