=== YaySMTP - WP Mail SMTP with Email Logs, Tracking & Reports ===
Contributors: YayCommerce
Tags: wp mail, email log, wp mail smtp, smtp, gmail smtp
Requires at least: 5.5
Requires PHP: 5.4
Tested up to: 7.0
Stable tag: 2.7.5
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt

Free WordPress SMTP plugin with email logs, open & click tracking, reports & charts, CSV export, and WooCommerce email preview.

== Description ==

YaySMTP fixes your WordPress email deliverability and gives you something most free SMTP plugins make you pay for: full email tracking, reporting, and log management, 100% free. 💎

**Connect your favorite mailer in 3 steps**, then actually see what happens to every email: who opened it, who clicked, how your sending trends over time, and what failed. 

Every feature below is free. YaySMTP Pro adds only priority support and feature-request access, never a feature paywall.

== Why YaySMTP over other free SMTP plugins? ==

Other free SMTP plugins get your mail delivered. YaySMTP gets it delivered **and shows you what happened & what's next**:

📊 **Email open & click tracking** 
Know which transactional and marketing emails actually get read.

📈 **Email Reports with charts & statistics**
Visualize your sending over time: delivery volume, opens, and clicks in clear charts, so you can spot trends and catch problems early. No paid analytics add-on required.

📁 **Export email logs to CSV**
Keep auditable backups of everything you've sent. Filter, search, show/hide columns.

♻️ **Import email logs from your old plugin**
Switching from [WP Mail SMTP](https://wordpress.org/plugins/wp-mail-smtp/), Easy WP SMTP, and others brings your **email history** with you, not just your settings.

🛒 **WooCommerce email preview & test**
Preview and send real WooCommerce order emails before customers see them.

🗓️ **Configurable log retention** 
Keep logs forever or 7 to 365 days, plus weekly/monthly summary reports, totally free.

== ⚡️ Core Features ==

- Email Reports & analytics: Track email performance over time with built-in charts and statistics, including sent volume, open rates, and click activity at a glance.
- Full email log: Keep all email logs with content and metadata. Filter, show/hide columns, and search by subject, recipient, and more.
- Open & click tracking: See which emails are opened and which links are clicked.
- Export/Import email logs: Save sent emails as CSV; import logs from your previous SMTP plugin.
Configurable log retention: Keep logs forever or auto-retain within the latest 7 to 365 days.
- Weekly/monthly summary reports: Get email performance digests delivered to your inbox.
- WooCommerce optimized: Send and preview real WooCommerce transactional emails; works perfectly with [YayMail](https://wordpress.org/plugins/yaymail/).
- Fallback mailer, send test email, disable email delivery (dev mode), one-click migration, clean UI/UX.

== 💪 Supported Mailer ==

YaySMTP supports mailers many other plugins skip, including MailJet, SMTP.com, SendPulse, Mandrill (Mailchimp), Yournotify, and IONOS, alongside Amazon SES, SendGrid, Gmail, Outlook/Office 365, Mailgun, Brevo, Zoho, Postmark, and any custom SMTP.

1. SendGrid 
2. Gmail SMTP server
3. Zoho
4. Brevo (formerly Sendinblue SMTP)
5. Mailgun
6. SMTP.com 
7. Amazon SES
8. Postmark
9. MailJet
10. MessageBird (formely Sparkpost)
11. Pepipost
12. SendPulse
13. Microsoft Outlook, Office 365, Microsoft Exchange Online
14. Mandrill SMTP by Mailchimp
15. Yournotify
16. IONOS
17. Your hosting's email server
18. And more! [Contact us](https://yaycommerce.com/contact/) to suggest your favorite mailer

###🎯 Why use YaySMTP?
Customers who buy products from your website expect regular updates and follow-ups. That's why timely communication is crucial to your business.

Sending follow-up WordPress emails on time can bring customers back while building trust and brand value.

###📝 Documentation and Support
If you're having issues, do let us know, and we'll be [happy to help](https://yaycommerce.com/support/).

###♥️ Like this YaySMTP Plugin?
👉 Rate us 5 stars on [WordPress.org](https://wordpress.org/support/plugin/yaysmtp/reviews/#new-post).

✅ Check out our best-selling WordPress plugins: 

- [YayMail - WooCommerce Email Customizer](https://yaycommerce.com/yaymail-woocommerce-email-customizer/)
- [Email Customizer Addons](https://yaycommerce.com/yaymail-addons/)
- [YayCurrency - WooCommerce Multi-Currency Switcher](https://yaycommerce.com/yaycurrency-woocommerce-multi-currency-switcher/)
- [YayPricing - WooCommerce Dynamic Pricing And Discounts](https://yaycommerce.com/yaypricing-woocommerce-dynamic-pricing-and-discounts/)
- [YayExtra - WooCommerce Extra Product Options](https://yaycommerce.com/yayextra-woocommerce-extra-product-options/)
- [YaySwatches - Variation Swatches for WooCommerce](https://yaycommerce.com/yayswatches-variation-swatches-for-woocommerce/)

✅ Plugins to boost conversions and increase AOV in WooCommerce:

- [YayReviews - Advanced Customer Reviews with AI Summary](https://yaycommerce.com/yayreviews-advanced-customer-reviews-for-woocommerce/) ✨
- [YayBoost - Sales Booster for WooCommerce](https://yaycommerce.com/yayboost-sales-booster-for-woocommerce/)
- [Yay Wholesale B2B](https://yaycommerce.com/yay-wholesale-b2b-for-woocommerce/)

== Frequently Asked Questions ==

= Is this plugin compliant with GDPR? =
Absolutely! YaySMTP doesn't collect or store any personal information. So please rest assured.

= Is YaySMTP free? =
Yes. Every feature is free, including email logs, open/click tracking, Email Reports with charts, CSV export, and WooCommerce email preview. There's no feature paywall.

= What does YaySMTP Pro give me? =
Pro is about support, not features. You get priority support for any sending or configuration issue, plus the ability to request new options and features from our YayCommerce team.

== Installation ==
1. Upload the entire plugin folder to the '/wp-content/plugins/' directory.
2. Activate the plugin through the **Plugins** menu in WordPress.

== Screenshots ==
1. YaySMTP Settings Overview
2. Send Test Email via Your SMTP Service
3. Email List and Email Log Settings
4. Additional Settings for Email Delivery Summary and Fallback Options

== Changelog ==

= Jun 16, 2026 – Version 2.7.5 =
- New: Email Reports
- Added: Submenu to Email Logs page

= Mar 30, 2026 – Version 2.7.4 =
- Improved: Modify Brevo's API creation link.
- Improved: Change a few Sendpulse labels.

= Mar 5, 2026 – Version 2.7.3 =
- Improved: Outlook MS processing.
- Fixed: Bugs about GuzzleHttp Library.
- Fixed: Resolving PHP 8.2+ deprecation warnings (SMTPSecure and mb_convert_encoding)

= Jan 5, 2026 – Version 2.7.2 =
- Improved: Masked Hidden Key Input.
- Improved: Email Logs UI.
- Improved: Zoho processing.
- Fixed: Notices issues with PHP 8.4.

= Oct 28, 2025 – Version 2.7.1 =
- Improved: Data processing
- Improved: UI 
- Fixed: Forward to license page issue
- Fixed: PHP Notice - Function wpdb::prepare was called incorrectly for PHP version >= 8.2
- Fixed: Log details style 
- Added: Review at footer

= Oct 15, 2025 - Version 2.7.0 =
- Improved: Redesigned UI to enhance user experience.

= Oct 14, 2025 - Version 2.6.10 =
- Fixed: ChartJS loading issue.

= Aug 28, 2025 - Version 2.6.9 =
- Fixed: Not save email logs when Send test email (emojis in email content)

= Aug 18, 2025 - Version 2.6.8 =
- Updated: New Content for Test Email

= Jul 12, 2025 – Version 2.6.7 =
- Improved: Email logs query

= Jul 3, 2025 – Version 2.6.6 =
- Fixed: SQL Injection for Email logs query

= May 8, 2025 - Version 2.6.5 =
- Improved: Delete Email Logs (Reported by ChuongVN)

= Apr 10, 2025 - Version 2.6.4 =
- Fixed: XSS with special character

= Feb 10, 2025 - Version 2.6.3 =
- Improved: UI for WooCommerce email preview
- Fixed: XSS (SMTP Sendinblue/Brevo, SMTP SendGrid, SMTP Amazon SES)
- Fixed: XSS in body content mails of logs

= Dec 25, 2024 - Version 2.6.2 =
- Improved: Code for Guzzle HTTP library
- Fixed: Load large log data

= Dec 24, 2024 - Version 2.6.1 =
- Added: Error details for email logs
- Improved: UI
- Improved: Compatible with other SMTP services

= Oct 3, 2024 - Version 2.6.0 =
- Added: Data Centers option for Zoho
- Fixed: Issue with Reply To of Mandrill

= Apr 23, 2024 - Version 2.5.9 =
- Added: Note for Gmail
- Updated: Change icon/text Sendinblue to Brevo
- Fixed: Attachment for Mailjet
- Fixed: Deprecated issue 
- Fixed: Logs feature of Mandrill

= Mar 13, 2024 - Version 2.5.7 =
- Added: Import email logs from previously used plugins (WP Mail SMTP and 4 other WP plugins)
- Improved: Email log retention logic when changing the retention period
- Improved: UI of importing SMTP settings 
- Fixed: Bug with attachments of Mailgun

= Dec 21, 2023 - Version 2.5.6 =
- Fixed: Deprecated: Return type of YaySMTPAmazonSES

= Nov 25, 2023 - Version 2.5.5 =
- Improved: Monthly/Weekly mail report UI  
- Fixed: Issue about open tracking image

= Nov 25, 2023 - Version 2.5.4.1 =
- Removed: License tab

= Oct 25, 2023 - Version 2.5.4 =
- Added: 6 new regions for Amazon SES: us-west-1 (US West (N. California)), eu-west-3 (EU (Paris)), eu-south-1 (EU (Milan)), eu-north-1 (EU (Stockholm)), ap-northeast-3 (Asia Pacific (Osaka)), me-south-1 (Middle East (Bahrain))

= Oct 20, 2023 - Version 2.5.3 =
- Changed: Content in test email 

= Oct 18, 2023 - Version 2.5.2 =
- Fixed: Notice of Deprecated Return Type

= Oct 10, 2023 =
- Fixed: Warning notice of Google library

= Sep 15, 2023 - Version 2.5 =
- Fixed: Mail Fallback

= Jun 29, 2023 - Version 2.4.9 =
- Added: Export CSV for Email Logs 
- Improved: Move feature “Import settings from other SMTP plugins” into “Additional Settings” tab
- Improved: Sendpulse processing
- Fixed: Delete notification popup
- Fixed: Detail log
- Fixed: Lost menu on network site (multiple site)

= Jun 8, 2023 - Version 2.4.8 =
- Updated: Guzzle HTTP library (Google API PHP client) 
- Fixed: Redirect link of Gmail and Zoho

= Jun 7, 2023 - Version 2.4.7 =
- Improved: Processing

= Jun 6, 2023 - Version 2.4.6 =
- Fixed: XSS for email log 
- Fixed: UI text

= May 31, 2023 - Version 2.4.5 =
- Added: Tracking Email Opened & Email Clicked links
- Improved: Logs processing
- Fixed: Some issues

= May 17, 2023 - Version 2.4.4 =
- Added: YayCommerce menu 

= Apr 26, 2023 - Version 2.4.3 =
- Added: Encryption Type None for Other SMTP
- Improved: Security for password of Other SMTP
- Improved: UI
- Improved: Log detail, log list 
- Updated: Mail fallback used after 1 attempt failed
- Fixed: Compatible with Contact Form 7

= Apr 20, 2023 - Version 2.4.2 =
- Fixed: Generate incorrect password
- Improved: Security

= Apr 12, 2023 - Version 2.4.1 =
- Improved: Text and UI

= Apr 11, 2023 - Version 2.4 =
- Added: Support Mandrill SMTP
- Added: Option Disable email delivery
- Improved: Logs, Fallback Carrier

= Feb 6, 2023 - Version 2.3 =
- Fixed: Bcc for Amazon SES

= Oct 31, 2022 - Version 2.2.9 =
- Fixed: Issue with Select2

= Oct 7, 2022 - Version 2.2.8 =
- Fixed: Email log sorting

= Sep 21, 2022 - Version 2.2.7 =
- Fixed: Conflict with the Select2 library 

= Aug 17, 2022 - Version 2.2.6 =
- Added: Option delete all data in database
- Fixed: Issue about delete logs

= Aug 11, 2022 - Version 2.2.5 =
- Fixed: PHPCS 
- Fixed: Some bugs 

= Aug 3, 2022 - Version 2.2.4 =
- Fixed: Error with PHP version > 8.0 for Amazon vendor library

= Jul 27, 2022 - Version 2.2.3 =
- Fixed: Error with Google Library 
- Fixed: Conflict with SureCart plugin 

= Jul 14. 2022 - Version 2.2.2 =
- Added: Support Multisite
- Improved: Logs page
- Fixed: XSS, Roles, and some issues

= Jul 1, 2022 - Version 2.2.1 =
- Fixed: Logs data disclosure
- Fixed: Restrict access to admin user role only

= May 24, 2022 - Version 2.2 =
- Added: Mail logs date filter
- Added: Delete all mail logs feature
- Added: Translation for German and Japanese
- Improved: UI
- Improved: Mail logs settings
- Improved: Responsive
- Fixed: Some bugs

= May 11, 2022 - Version 2.1.3 =
- Fixed: Outlook SMTP text/plain type

= May 2, 2022 - Version 2.1.2 =
- Fixed: Issue about text/plain type of Outlook SMTP
- Added: Japanese and German translation

= Feb 25, 2022 - Version 2.1.1 =
- Fixed: Error with apostrophe in email From field

= Nov 29, 2021 - Version 2.1 =
- Added: Weekly/Monthly Report, Fallback Carrier, Summary Chart
- New: Weekly/monthly summary email notifications
- New: Fallback additional setting using PHPMailer
- Improved: Email delivery report, performance chart, and top emails
- Improved: Email notification template

= Nov 1, 2021 - Version 2.0.1 =
- Fixed: Error Exception of Outlook SMTP

= Oct 23, 2021 - Version 2.0 =
- Added: Import settings from other SMTP plugins (Easy WP SMTP, WP Mail SMTP, SMTP Mailer, WP SMTP, Mail Bank, Post SMTP Mailer)
- Improved: Text 
- Fixed: Small bugs

= Sep 12, 2021 - Version 1.9 =
- Added: Chart Statics Widget on Dashboard
- Improved: Email Logs
- Fixed: guzzlehttp – Google client library
- Fixed: Conflict with Google Listings and Ads 
- Fixed: Some small bugs

= Aug 3, 2021 - Version 1.8 =
- Improved: Mailer dropdown
- Improved: Email logs

= Jul 27, 2021 - Version 1.7 =
- Added: Email Force Options
- Added: MailJet SMTP
- Added: SparkPost SMTP
- Added: Pepipost SMTP
- Added: SendPulse SMTP
- Added: Microsoft/Outlook/Office 365/Exchange SMTP
- Fixed: Some small bugs

= Jul 5, 2021 - Version 1.6 =
- Added: Email logs
- Added: Postmark mailer
- Improved: UI
- Fixed: Some bugs

= Jun 21, 2021 - Version 1.5 =
- Improved: Mailers

= May 16, 2021 - Version 1.4 =
- Improved: Mailers

= Apr 25, 2021 - Version 1.3.3 =
- Fixed: Some small bugs

= Mar 7, 2021 - Version 1.3.2 =
- Improved: Refactored code

= Feb 28, 2021 - Version 1.3.1 =
- Improved: Layout and optimize code
- Fixed: Auto refresh token Zoho

= Feb 5, 2021 - Version 1.3 =
- Added: Amazon SES SMTP
- Improved: UI

= Jan 7, 2021 - Version 1.2 =
- Added: SMTP.com SMTP
- Improved: UI
- Fixed: Close/open drawer event

= Dec 13, 2020 - Version 1.1 =
- Added: Mailgun SMTP
- Improved: YaySMTP icon
- Fixed: Zoho
- Fixed: UI/UX
- Fixed: Some small bugs

= Nov 29, 2020 - Version 1.0 =
Initial Release 