=== NoBS-Mail View - Email Fallback Viewer in Browser ===
Contributors: wpspin
Tags: email-log, email, wp-mail, html-email, woocommerce-email
Requires at least: 5.0
Tested up to: 6.9.1
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a "View in Browser" link to WordPress emails, solving HTML rendering issues by providing a browser-based fallback for email viewing.

== Description ==

NoBS-Mail View - Email Fallback Viewer in Browser provides a reliable fallback solution for WordPress emails that fail to render properly in email clients. Similar to newsletter services like Mailchimp, this plugin automatically adds a "View in Browser" link to all outgoing WordPress emails, ensuring recipients can always read your content.

= Key Features =

* Automatically adds browser view links to all WordPress emails
* Stores email content securely for browser access
* Works with any WordPress email (registration, password reset, WooCommerce orders, contact forms, etc.)
* Lightweight and simple implementation
* No external dependencies or services

= Problem Solved =

WordPress sends emails using `wp_mail()`, but recipients often face issues:

* **HTML Corruption**: Email clients strip or modify HTML/CSS, making emails unreadable
* **Dark Mode Issues**: Emails designed for light backgrounds become illegible in dark mode
* **Corporate Email Filters**: Company email systems strip HTML for security
* **Mobile Rendering**: Mobile email clients fail to render complex layouts
* **Email Client Limitations**: Outlook, Gmail, and others have varying CSS support

This plugin ensures recipients always have a fallback option to view emails in their browser with proper rendering.

= Common Use Cases =

**E-commerce Scenarios**
* WooCommerce order confirmations with complex product tables
* Invoice emails with formatted billing information
* Shipping notifications with tracking details

**User Account Emails**
* Registration confirmation emails with styling
* Password reset emails that need to look professional
* Account notification emails with branding

**Form Submissions**
* Contact form notifications with formatted data
* Gravity Forms/Contact Form 7 submissions
* Custom form emails with HTML layouts

**Newsletter & Notifications**
* Site announcements with images and formatting
* Digest emails with multiple sections
* Event notifications with calendar details

**Accessibility & Sharing**
* Users who prefer browser reading over email clients
* Screen reader users needing better HTML structure
* Sharing email content via URL link
* Bookmarking important transactional emails

**Development & Testing**
* Testing email appearance without sending multiple test emails
* Debugging email rendering issues
* Previewing emails across different browsers

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/nobs-mail-view-email-fallback-viewer-in-browser/` directory, or install through WordPress plugins screen
2. Activate the plugin through the 'Plugins' screen in WordPress
3. All WordPress emails will automatically include a "View in Browser" link

== Frequently Asked Questions ==

= Does this work with all WordPress emails? =

Yes, the plugin hooks into WordPress's `wp_mail()` function, so it works with emails from WordPress core, WooCommerce, contact forms, and any other plugin that uses the standard WordPress email system.

= How long are email browser versions stored? =

Emails are stored indefinitely in WordPress until you delete them from wp-admin > Outgoing Emails.

= Does this affect email delivery performance? =

No, the plugin adds minimal overhead. Email content is stored efficiently and the browser view link is a simple text addition.

= Is the browser view secure? =

Yes, each email gets a unique token that's required to view the content. Only recipients with the link can access the email.

= Can I customize the "View in Browser" link text? =

Yes. Use the Custom Message setting to control the text and include the `{email_link}` placeholder.

== Settings ==

The plugin adds a settings screen under Settings > NoBS-Mail View with these options:

* **Enable Email Fallback Viewer**: Turn the browser-view link on/off without deactivating the plugin.
* **Link Position**: Choose whether the link is prepended or appended to the email body.
* **Custom Message**: Customize the link text using the `{email_link}` placeholder (HTML tags are not allowed). Default: `Not seeing the email correctly. Use this link to read: {email_link}`

= Does this work with plain text emails? =

Yes, the plugin handles both HTML and plain text emails appropriately.

== Screenshots ==

1. Plugin settings page with configuration options

== Changelog ==

= 1.0.1 =
* Tested up to WordPress 6.9.1
* Added support banner on settings page
* Updated plugin tags for better discoverability on WordPress.org
* Added plugin banner, icon, and screenshot assets
* Improved README with detailed use cases and compatible plugins list

= 1.0.0 =
* Initial release
* Automatic browser view link insertion
* Secure email content storage
* Works with all WordPress emails

== Upgrade Notice ==

= 1.0.1 =
Tested up to WordPress 6.9.1. Added support banner, improved plugin listing with new assets and tags.

= 1.0.0 =
Initial release of NoBS-Mail View - Email Fallback Viewer in Browser plugin.
