Title: Email Validation Bug
Last modified: August 24, 2016

---

# Email Validation Bug

 *  [krishaamer](https://wordpress.org/support/users/krishaamer/)
 * (@krishaamer)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/email-validation-bug/)
 * Hi! The plugin’s great but invalidates Estonian emails ending in “.ee”. Can you
   please fix it?
 * Thanks!
    -Kris
 * [https://wordpress.org/plugins/jc-importer/](https://wordpress.org/plugins/jc-importer/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [jcollings](https://wordpress.org/support/users/jcollings/)
 * (@jcollings)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/email-validation-bug/#post-5971874)
 * Hi Kris,
 * I have just had a glance through the code to double check and it uses the built
   in WordPress is_email() function to validate emails, the function for this can
   be found in jc-importer/app/templates/template-user.php on line 88
 *     ```
       if ( ! empty( $data['user']['user_email'] ) && ! is_email( $data['user']['user_email'] ) ) {
       	throw new JCI_Exception( strval( $data['user']['user_email'] ) . " is not a valid email address", JCI_WARN );
       }
       ```
   
 * If you comment out these lines in the code you can temporarily remove the email
   validation from the user template.
 * Is this happening to all the .ee addresses? or just one?
 * James
 *  Thread Starter [krishaamer](https://wordpress.org/support/users/krishaamer/)
 * (@krishaamer)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/email-validation-bug/#post-5971967)
 * Thanks, this worked!
 * I didn’t check row by row but did seem to be all of the “.ee” ones.
 * Kris

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Email Validation Bug’ is closed to new replies.

 * ![](https://ps.w.org/jc-importer/assets/icon-256x256.gif?rev=2943858)
 * [Import WP – Export and Import CSV and XML files to WordPress](https://wordpress.org/plugins/jc-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jc-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jc-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/jc-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jc-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jc-importer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [krishaamer](https://wordpress.org/support/users/krishaamer/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/email-validation-bug/#post-5971967)
 * Status: not resolved