• Resolved jodzeee

    (@jodzeee)


    I’m not sure how long it’s been going on, but I noticed today on one of my sites that the “To” field is blank in the FluentSMTP log for all New Order emails from WooCommerce. It’s being sent to multiple people and I verified it is actually being sent and received. Just wondering why the log isn’t showing who it was sent to.

    I have an Appointment email also through Woo that is sent to multiple people and that one works fine.

    I checked two other sites and the New Order email shows the email addresses in the To field in their FluentSMTP logs.

    Any ideas what’s going on?

    • This topic was modified 1 week, 4 days ago by jodzeee.
Viewing 1 replies (of 1 total)
  • Plugin Support Ibrahim Sharif

    (@ibrahimsharif)

    Hello @jodzeee,

    To get a better understanding of what might be causing this, let’s enable WordPress debugging. This will create a log file where WordPress records any errors, warnings, or notices, which can provide clues as to why the “To” field isn’t being populated in the FluentSMTP logs for the New Order emails.

    Here’s how you can enable debugging:

    1. Access your?wp-config.php?file:?This file is located in the root directory of your WordPress installation. You can access it using an FTP client or the file manager provided by your hosting control panel.
    2. Enable debugging:?Look for the line?define('WP_DEBUG', false);. Change?false?to?true. If the line doesn’t exist, add it.
    3. Enable debug logging:?Add the following line immediately after the?WP_DEBUG?line:?define('WP_DEBUG_LOG', true);

    Your wp-config.php file should now contain the following:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    1. Save the changes:?Make sure to save the updated?wp-config.php?file.

    Once debugging is enabled, WordPress will start logging errors to a file named debug.log located in the wp-content directory. The typical location of this file would be: /home/USER/public_html/wp-content/debug.log (replace USER with your actual username).

    After enabling debugging, please trigger a new WooCommerce order to generate another New Order email. Then, access the debug.log file and look for any errors or warnings related to WooCommerce, FluentSMTP, or email sending. Please share the contents of the debug.log file (or any relevant excerpts) with me, and that will help me to identify the root cause of the problem.

    Important: Remember to disable debugging once we’ve resolved the issue. You can do this by changing true back to false in the define('WP_DEBUG', true); line in your wp-config.php file. Keeping debugging enabled can expose sensitive information and lead to unnecessarily large log files.

    Looking forward to hearing back from you with the debug log information!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.