=== M Media Email Deliverability Inspector ===
Contributors: mmediasoftwarelab
Tags: email, deliverability, spf, dkim, dmarc
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Comprehensive email deliverability diagnostics tool - checks SPF, DKIM, DMARC, PTR, MX records, and SMTP configuration.

== Description ==

Deliverability Inspector is a free diagnostic tool that helps you verify your email authentication and deliverability configuration. Ensure your emails reach the inbox by checking all critical DNS records and SMTP settings.

**Key Features:**

* **SPF Record Check** - Verify Sender Policy Framework configuration
* **DKIM Verification** - Check DomainKeys Identified Mail with custom selector support
* **DMARC Policy Check** - Validate Domain-based Message Authentication
* **MX Records** - Confirm mail exchange servers are configured
* **PTR/Reverse DNS** - Check server IP reverse DNS lookup
* **SMTP Test** - Send test emails to verify mail delivery works

**Perfect For:**

* WordPress site owners sending transactional emails
* Email marketers ensuring deliverability
* Developers setting up new WordPress installations
* Anyone troubleshooting email delivery issues

**Why Use Deliverability Inspector?**

Email deliverability is critical for WordPress sites. Whether you're sending order confirmations, password resets, or newsletters, proper email authentication prevents your messages from landing in spam folders.

This plugin provides a comprehensive dashboard showing the status of all major email authentication protocols in one place, with actionable recommendations for fixes.

**Free & Open Source**

Deliverability Inspector is completely free with no premium upsells required for core functionality. Use it to verify your email setup is production-ready.

**Works With M Media Dispatch**

Once your deliverability checks pass, consider using [M Media Dispatch](https://www.mmediasoftwarelab.com/product/mmedia-dispatch/) to send professional email campaigns via your own SMTP server - no recurring email marketing costs!

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/mmedia-email-deliverability-inspector/`
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Navigate to 'Deliverability' in the WordPress admin menu
4. Click 'Run All Checks' to analyze your email configuration

== Frequently Asked Questions ==

= What does this plugin check? =

The plugin checks:
- SPF (Sender Policy Framework) records
- DKIM (DomainKeys Identified Mail) with selector support
- DMARC (Domain-based Message Authentication) policy
- MX (Mail Exchange) records
- PTR (Reverse DNS) records
- SMTP email sending capability

= Do I need technical knowledge to use this? =

No! The plugin provides clear explanations for each check and actionable recommendations if issues are found.

= Will this plugin send emails? =

Only if you use the optional SMTP Test feature, which sends a single test email to an address you specify.

= Does this fix email delivery issues? =

This plugin diagnoses issues but does not automatically fix them. It provides clear recommendations for what needs to be configured with your DNS provider or hosting company.

= Is this plugin really free? =

Yes! All core functionality is completely free with no premium upgrades required.

= What happens after I pass all checks? =

Once your email authentication is properly configured, you can confidently send emails from WordPress.

== Screenshots ==

1. Default dashboard view
2. SPF check - pass
3. DKIM check - pass
4. DMARC check - pass
5. MX records - pass
6. PTR/reverse DNS - pass
7. SMTP test - pass
8. Test email sent confirmation
9. SPF check - fail with recommendations
10. DKIM check - fail with recommendations
11. DMARC check - fail with recommendations
12. MX records - fail with recommendations

== Changelog ==

= 1.0.0 =
* Initial release
* SPF record verification
* DKIM record checking with selector support
* DMARC policy validation
* MX record lookup
* PTR/Reverse DNS checking
* SMTP connection test
* Comprehensive summary dashboard
* Export results as JSON
* Contextual recommendations for M Media Dispatch

== Upgrade Notice ==

= 1.0.0 =
Initial release of Deliverability Inspector.

== External services ==

This plugin connects to Google's public DNS over HTTPS (DoH) API as a fallback when the server's native DNS resolver cannot retrieve records.

**Service:** Google Public DNS over HTTPS
**Purpose:** Resolving TXT, MX, and A DNS records for the domain being checked (SPF, DKIM, DMARC, MX lookups) when PHP's `dns_get_record()` returns no results.
**What is sent:** The domain name being queried and the DNS record type requested.
**When it is sent:** Only when native DNS resolution fails for a given check. No data is sent on most servers where native DNS works correctly.
**Provider:** Google LLC
**Terms of service:** https://developers.google.com/terms
**Privacy policy:** https://policies.google.com/privacy

No personal user data (names, emails, IP addresses of site visitors, etc.) is ever sent to this service — only the domain name being inspected.

== Privacy Policy ==

Deliverability Inspector performs DNS lookups and optional SMTP tests using your WordPress server. No data is sent to external services except:

* DNS queries to public DNS servers (standard internet protocol)
* Optional test email via your configured SMTP server

No personal data is collected, stored, or transmitted to M Media or any third parties.

== Support ==

For support, visit [M Media Support](https://www.mmediasoftwarelab.com/support/)

== Credits ==

Developed by [M Media](https://www.mmediasoftwarelab.com/)
