=== Rythzen SMTP ===
Contributors: rythzen
Tags: smtp, email, mail, wp-mail, wordpress email
Requires at least: 6.0
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

Free SMTP delivery for WordPress with test email, privacy-minded logs, diagnostics and Rythzen branding.

== Description ==
Rythzen SMTP routes WordPress wp_mail() through your SMTP provider using WordPress' bundled PHPMailer integration.

Features:
* SMTP host, port, TLS/SSL/none and authentication settings.
* Gmail, Microsoft 365, Zoho, Yahoo, Brevo, SendGrid and Mailgun convenience presets.
* Force From Email and From Name.
* Optional envelope Return-Path.
* TLS certificate verification control for internal/self-signed servers.
* Configurable connection timeout.
* Test email screen.
* Delivery/failure logging without storing message bodies or SMTP passwords.
* Log retention and row cap.
* SMTP debug capture with common authentication secrets redacted.
* Diagnostics and deliverability checklist.
* Optional RYTHZEN_SMTP_PASSWORD wp-config.php constant.
* No ads, telemetry, tracking, licensing server or paid features.

== Installation ==
1. Upload the `rythzen-smtp` folder to `/wp-content/plugins/`, or upload the ZIP in WordPress Admin.
2. Activate Rythzen SMTP.
3. Open Rythzen SMTP in the WordPress admin menu.
4. Enter the credentials provided by your email service.
5. Enable SMTP Delivery and save.
6. Send a test email.

== Security ==
Use TLS whenever your provider supports it. Keep certificate verification enabled for public SMTP services. For higher operational separation, define `RYTHZEN_SMTP_PASSWORD` in `wp-config.php` instead of storing the password in the WordPress options table.

== Privacy ==
When logging is enabled, the plugin stores timestamp, recipient, subject, success/failure status and an error string. It does not store message bodies, attachments or SMTP passwords in the email log.

== Changelog ==

= 1.1.0 =
Added: self-hosted automatic updates through the new Rythzen update service.
Added: an Updates tab showing the installed and latest version, release channel and last check.
Security: the SMTP password is now encrypted at rest with AES-256-GCM instead of being stored as
plain text in the options table. Existing passwords are read transparently and re-encrypted on
the next save.
Fixed: with debug logging on, every line of the SMTP conversation triggered its own database
write. The transcript is now buffered and stored once per message.
Fixed: the delivery log ran two extra queries on every single email it recorded.
Fixed: the stored database version was never compared, so a future schema change would not have
been applied on update.

= 1.0.0 =
* Initial release.
