=== Pantry Mail ===
Contributors: pluginpantry
Tags: mail
Requires at least: 6.4
Tested up to: 7.1
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

SMTP delivery for wp_mail, with a test button.

== Description ==

Point WordPress email at a real SMTP server and confirm it works with one test message. Provider presets fill in the host and port. The last twenty sends are listed with their result so you can see what went wrong.

Pantry Mail is built to the Pantry Standard, a public document that fixes what every Plugin Pantry plugin may and may not do: https://thepluginpantry.com/standard

= What it does =

* SMTP host, port, encryption, username and password, applied through the phpmailer_init hook
* Presets for Gmail, Microsoft 365, SendGrid, Mailgun, Postmark, Resend, Amazon SES, Brevo and custom
* From name and from address override, with an option to force them on every message
* Send a test email from the settings screen and see the server response
* Log of the last 20 messages: time, recipient, subject, result and error text, stored in one option
* Password can be defined as the PANTRY_MAIL_PASSWORD constant in wp-config.php so it never touches the database; the screen says plainly where it is stored

= What it does not do =

* No OAuth flows
* No API-based sending (SMTP only)
* No sending queue or retries
* No open or click tracking
* No full searchable log
* No external requests other than the SMTP connection itself

== Pro add-on ==

A separate Pantry Pro add-on is planned. It will extend this plugin with:

* Full searchable log with resend
* Fallback account when the primary fails
* Failure alerts
* API senders for Resend, Postmark and SES

Nothing in this free plugin is locked or limited. It is complete for its scope.

== Installation ==

1. Upload the plugin folder to /wp-content/plugins/ or install it from the Plugins screen.
2. Activate it.
3. Open Plugin Pantry > Mail and set it up.

== Frequently Asked Questions ==

= Does the free plugin expire or nag? =

No. It keeps working forever and never shows a sales notice.

= Does it send any data anywhere? =

No. It makes no external requests.

= Where do I report a bug? =

https://thepluginpantry.com/support

== Changelog ==

= 1.0.0 (2026-09-12) =

* SMTP host, port, encryption, username and password, applied through the `phpmailer_init` hook.
* Provider presets for Gmail, Microsoft 365, SendGrid, Mailgun, Postmark, Resend, Amazon SES and Brevo, plus Custom.
* From name and from address override, with a Force option to apply it on every message.
* Send a test email from the settings screen, with the result shown as a notice.
* Log of the last 20 messages: time, recipient, subject, result and error text, stored in one option.
* Password can be set with the `PANTRY_MAIL_PASSWORD` constant in `wp-config.php` instead of the database.
