=== Test Email Redirector ===
Contributors: connectzaib
Tags: email, testing, forward, development
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 1.3.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Redirects all outgoing WordPress emails to a specified test address for development and testing purposes.

== Description ==

The Test Email Redirector ensures no accidental emails reach real users during WordPress development, staging, or testing. Redirect's all outgoing emails to a designated test address. Additional features include optional CC/BCC addresses and the ability to include original recipient information in the forwarded email.

**Features:**
- Redirect all outgoing emails to a test email address.
- Add optional CC and BCC addresses.
- Include original recipient information in the forwarded email.
- Enable or disable email redirection without deactivating the plugin.
- Fully configurable via the WordPress admin Tools menu.

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to `Tools > Test Email Redirector` to configure the plugin settings.

== Frequently Asked Questions ==

= Can I disable email redirection without deactivating the plugin? =
Yes, you can enable or disable email redirection from the plugin's settings page.

= What happens if I don't specify a test email address? =
The plugin will not redirect emails if no test email address is specified.

= Can I add multiple CC or BCC addresses? =
Yes, you can add multiple CC or BCC addresses by separating them with commas.

= Is the test email address a required field? =
Yes, the test email address is required for the plugin to function properly. Without it, emails will not be redirected.

= What happens if I specify a CC address? =
If a CC address is specified, it will override the default behavior, and the CC recipient will receive a copy of the forwarded email.

= What happens if no CC address is specified? =
If no CC address is specified, the email will still be forwarded to the test email address, but no additional recipients will receive a copy.

= Can I include the original recipient information in the forwarded email? =
Yes, the plugin provides an option to include the original recipient information in the forwarded email for better context during testing.

== Screenshots ==

1. Plugin settings page under the Tools menu.
2. Admin bar notification indicating email redirection is active.

== Changelog ==

= 1.3.3 =
* Updated the orignial info checkbox handling.
* Updated plugin icon.

= 2.4 =
* Initial release with email redirection, CC/BCC support, and admin bar notification.

== Upgrade Notice ==

= 1.2.0 =
Changed default settings of the plugin so new installation doesnot get any issues.

== License ==

This plugin is licensed under the GPLv2 or later. See the [License URI](https://www.gnu.org/licenses/gpl-2.0.html) for details.
