=== Email Sender Control === Contributors: mdasikresources Donate link: https://buymeacoffee.com/mdasik Tags: wp_mail, change from email & from name, custom from email, email tester, email logs Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 8.2 Stable tag: 1.0.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Easily change the default WordPress email "From Name" and "From Email" for all outgoing emails. Test whether email is working properly. Log email deliveries for better tracking and debugging. == Description == This plugin allows you to: - Change the default "From Name" and "From Email" used by WordPress. - Send test emails to check email functionality. - Enable or disable email logging. - View email logs (To, Subject, Date) for tracking sent & failed emails. - Automatically delete logs older than X days (optional). - Optionally remove all data upon plugin uninstall. Perfect for site admins who want consistent branding on outgoing emails and tools to troubleshoot delivery issues. == Installation == 1. Upload the plugin ZIP file via **Plugins > Add New > Upload Plugin**, or install via the WordPress Plugin Directory. 2. Activate the plugin. 3. Navigate to **Email Sender** in the WordPress admin menu to configure settings. == Frequently Asked Questions == = Can I view the sent email logs? = Yes, email logs are available under the plugin's settings page if logging is enabled. = Will this affect contact form plugins like CF7 or WPForms? = It modifies the global `wp_mail()` headers. Most contact forms using `wp_mail()` will inherit the custom From Name and Email. = Can I remove all plugin data on uninstall? = Yes. Enable the **"Delete data on uninstall"** option to remove all plugin-related data including logs. == Screenshots == 1. Email Sender Control settings page 2. Email logs table == Changelog == = 1.0.1 = * Fixed: Text domain mismatch issue. * Fixed: Warnings flagged in PCP, including: - Added nonce verification in settings form. * Updated: Readme and plugin metadata for clarity. * Updated: Store Failed email logs & Error message * Minor UI improvements and code optimizations. = 1.0.0 = * Initial release: - Customize From Name/Email - Email testing tool - Email logs - Auto-delete old logs - Plugin uninstall cleanup option == Upgrade Notice == = 1.0.1 = Recommended update. Fixes key issues (text domain, security warnings) and improves compatibility with WordPress plugin guidelines. == Credits == Developed by [Md Asik](https://mdasik.com)