Title: Include MX record check
Last modified: January 28, 2021

---

# Include MX record check

 *  [roeller](https://wordpress.org/support/users/roeller/)
 * (@roeller)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/include-mx-record-check/)
 * THis plugin only check if the domain name exists, not if it has an MX record.
   Without having an MX record it is impossible to receive emails.
 * Change link 97 in file /classes/class-email-dns-verification.php from:
 * `return $response = ( checkdnsrr( $domain[1] ) ? true : false );`
 * to
 * `return $response = ( checkdnsrr( $domain[1], 'MX' ) ? true : false );`

The topic ‘Include MX record check’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/email-dns-verification.svg)
 * [Email DNS Verification](https://wordpress.org/plugins/email-dns-verification/)
 * [Support Threads](https://wordpress.org/support/plugin/email-dns-verification/)
 * [Active Topics](https://wordpress.org/support/plugin/email-dns-verification/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-dns-verification/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-dns-verification/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [roeller](https://wordpress.org/support/users/roeller/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/include-mx-record-check/)
 * Status: not resolved