• Aharon

    (@spaceling)


    Hi Erik,

    Thank you so much for your plugin. It helped enormously when our shared hosting without warning turned off PHPMailer that our WordPress had been using with CF7 through the wp_mail() function. I really appreciated the verbose testing feature on the backend, which helped me understand better what are SMTP settings were and what changes were needed via our hosted account’s cpanel.

    One thing I’ve noticed though since activating CF7 SMTP are occasional messages in our debug log. These take the form of Final PHPMailer config: AuthType=, SMTPAuth=true.

    Are the debug log messages triggered every time a form is successfully submitted? Is there an option to turn off these messages (without setting debug our debug log to false)? If the messages can’t be turned off, could they be supplemented with more interesting information, such as how long it takes for the form to submit via the SMTP authentication? That might help with future troubleshooting.

Viewing 1 replies (of 1 total)
  • Plugin Author Erik

    (@codekraft)

    Hi @spaceling ,

    Thank you for using the plugin and for reaching out! I’m really glad to hear the testing feature helped you sort out the PHPMailer and cPanel issues with your hosting 🎉.

    First off, I apologize for those Final PHPMailer config: messages showing up in your log. That is actually a leftover debug statement from development that shouldn’t be firing unconditionally on every successful form submission. I completely understand why you wouldn’t want it cluttering your server’s debug.log. I have already removed this line from the codebase, and the fix will be included in the next version, which I’ll be releasing very soon (because of this).

    Secondly, regarding your suggestion for more detailed troubleshooting information: if you ever need to do a serious, in-depth analysis of what is happening under the hood, you can simply use the native WordPress debugging feature. By defining WP_DEBUG and WP_DEBUG_LOG as true in your wp-config.php file, the plugin will automatically output detailed error messages and the raw SMTP transaction logs directly to your debug.log file whenever an email fails to send.

    Thanks again for taking the time to report this! Let me know if you have any other questions. Erik

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.