=== Design Cart SMTP ===
Contributors: giraffex, designcart
Tags: smtp, email, woocommerce, mail, log
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
WC requires at least: 8.0
WC tested up to: 10.1

Diagnostic SMTP for WooCommerce shops: mapped errors, SMTP transcript, send log, and store-style tests.

== Description ==

Most SMTP plugins confirm that a test message left the server. Shop owners still do not know why an order email failed.

Design Cart SMTP is a diagnostic SMTP layer for WordPress and WooCommerce. It sends mail through an authenticated mailbox, then shows what the mail server actually answered.

Author: [Paweł Nosko](https://www.designcart.pl/pawel-nosko.html) / [Design Cart](https://www.designcart.pl/)

Documentation: [How to configure SMTP in WordPress](https://www.designcart.pl/laboratorium/355-jak-skonfigurowac-smtp-w-wordpress-darmowy-plugin-testowaniem-polaczenia.html)

= What makes it different =

* Mapped SMTP errors (authentication, TLS, connection, certificate, sender/relay, recipient, rate limit) instead of a generic failure
* Full SMTP transcript (password redacted) plus the raw PHPMailer message
* WooCommerce-style test using the store email wrapper — no fake orders
* Send log of the last 100 messages with source (WordPress / WooCommerce / test) and error text
* Presets for Gmail, Outlook, and Polish hosts (home.pl, nazwa.pl, OVH, cyber_Folks)
* Force From so the WooCommerce envelope matches the SMTP mailbox
* WooCommerce HPOS compatible; templates stay in WooCommerce → Settings → Emails

This plugin only changes transport. It does not replace WooCommerce email templates or marketing mail tools.

== Installation ==

1. Upload the `design-cart-smtp` folder to `/wp-content/plugins/`.
2. Activate the plugin from the **Plugins** screen.
3. Go to **Settings → Design Cart SMTP**.
4. Enter your SMTP details, enable SMTP, and send a test email.
5. Read the mapped errors, PHPMailer message, and SMTP transcript if the test fails.

== Frequently Asked Questions ==

= How is this different from other SMTP plugins? =

The focus is diagnosis, not another settings form. A failed send returns mapped SMTP errors, the PHPMailer message, and a password-redacted transcript. WooCommerce shops also get a store-style test and a send log that records which email type failed.

= Does it work with WooCommerce? =

Yes. WooCommerce sends mail through wp_mail(). This plugin configures PHPMailer (SMTP), can force the From header, and can send a WooCommerce-style test without creating an order.

= Can I edit store email content here? =

No. Templates and per-email toggles stay in **WooCommerce → Settings → Emails**. This plugin only changes transport.

== Changelog ==

= 1.0.0 =
* Initial release.
