=== Arb Mail Suite ===
Contributors: arbdigital
Tags: smtp, email, imap, mail, wp mail smtp, email log, inbox, transactional email
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The all-in-one, next-level email engine for WordPress. Send reliably over SMTP, RECEIVE mail inside wp-admin (IMAP), and compose beautiful branded emails.

== Description ==

Arb Mail Suite goes far beyond a normal SMTP plugin. It is a complete mail command center:

* **Premium SMTP sending** — works with any host plus one-click presets for Gmail / Google Workspace, SendGrid and Mailgun. Force From name/email, choose TLS/SSL, full auth control.
* **Email RECEIVING (IMAP/POP3)** — pull your mailbox right into WordPress. A Gmail-style inbox with read/unread, star, search, attachments indicator and a safe sandboxed message reader. Auto-syncs every 5 minutes via WP-Cron, or fetch on demand.
* **Premium composer** — a full TinyMCE editor, click-to-insert merge tags ({{first_name}}, {{site_name}}…), live preview, and one-click "wrap in branded template".
* **Beautiful responsive template engine** — every email is wrapped in a mobile-friendly, on-brand shell (your logo + colors). Bundled starter templates (Welcome, Promo, Notification) and a full template manager.
* **Email logging & analytics** — every send is logged with status, open tracking (pixel), 7-day chart, search/filter, one-click resend and automatic failed-email retries.
* **Security-first** — passwords/API keys stored AES-256 encrypted, every AJAX call nonce + capability protected, sandboxed iframe rendering for received mail.

== Installation ==

1. Upload the `arb-mail-suite` folder to `/wp-content/plugins/`.
2. Activate it through the **Plugins** screen.
3. Go to **Arb Mail → Settings** and configure the **Sending (SMTP)** tab. Send a test email.
4. (Optional) Enable the **Receiving (IMAP)** tab to pull mail into your inbox. Requires the PHP `imap` extension.
5. Set your logo + brand colors under **Branding**.

== Frequently Asked Questions ==

= My host doesn't have the IMAP extension =
Sending (SMTP) works without it. Receiving needs the PHP `imap` extension — ask your host to enable it. The Settings screen will warn you if it's missing.

= Are my passwords safe? =
Yes. SMTP/IMAP passwords and API keys are encrypted with AES-256-CBC before being stored, and never echoed back into the form.

== Changelog ==

= 1.0.0 =
* Initial release: SMTP sending, IMAP receiving inbox, premium composer, template engine, logging, open tracking, retries.
