=== Target SMTP ===
Contributors:      targetsmtp
Tags:              smtp, email, wp_mail, transactional, mail
Requires at least: 5.0
Tested up to:      6.4
Requires PHP:      7.4
Stable tag:        1.0.0
License:           MIT
License URI:       https://opensource.org/licenses/MIT

Drop-in replacement for wp_mail() that routes every WordPress email through Target SMTP — with delivery logs and a test sender.

== Description ==

Target SMTP is a transactional-email service for European businesses (GDPR-friendly, Hetzner-hosted). This plugin lets you send every WordPress email — order confirmations, password resets, notification plugins, contact forms — through Target SMTP instead of your web host's leaky default mailer.

Features:

* Drop-in replacement for `wp_mail()` (no theme/plugin changes needed)
* STARTTLS (587) or SSL (465)
* Built-in test-email button
* Logs the last 50 messages (toggleable)
* Optional fallback to native PHP mail() if SMTP fails

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`, or install via Plugins → Add New → Upload Plugin.
2. Activate it via Plugins.
3. Go to **Settings → Target SMTP** and paste the credentials shown in your Target SMTP panel (Credentials page).
4. Enable "Route wp_mail() through Target SMTP", save, and send a test email.

== Frequently Asked Questions ==

= Where do I find my SMTP credentials? =
Sign in to https://targetsmtp.it/app/credentials.

= Does this work with WooCommerce / Contact Form 7 / WPForms / Gravity Forms? =
Yes — any plugin that calls `wp_mail()` is routed through Target SMTP automatically.

= What happens on failure? =
By default the email is **not** silently re-sent. Enable "fallback to native mail()" to allow WP's built-in mailer as a safety net.

== Changelog ==

= 1.0.0 - 2026-05-15 =
* Initial release.
