Title: CF7 SMTP Debug messages
Last modified: June 10, 2026

---

# CF7 SMTP Debug messages

 *  [Aharon](https://wordpress.org/support/users/spaceling/)
 * (@spaceling)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/cf7-smtp-debug-messages/)
 * 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](https://wordpress.org/support/users/codekraft/)
 * (@codekraft)
 * [1 week ago](https://wordpress.org/support/topic/cf7-smtp-debug-messages/#post-18935767)
 * Hi [@spaceling](https://wordpress.org/support/users/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](https://github.com/erikyo/cf7-smtp/issues)).
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcf7-smtp-debug-messages%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/cf7-smtp/assets/icon.svg?rev=2821098)
 * [SMTP for Contact Form 7](https://wordpress.org/plugins/cf7-smtp/)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-smtp/reviews/)

## Tags

 * [php mailer](https://wordpress.org/support/topic-tag/php-mailer/)

 * 1 reply
 * 2 participants
 * Last reply from: [Erik](https://wordpress.org/support/users/codekraft/)
 * Last activity: [1 week ago](https://wordpress.org/support/topic/cf7-smtp-debug-messages/#post-18935767)
 * Status: not resolved