Title: WPForms + WP Mail SMTP – Empty Message Error
Last modified: January 28, 2024

---

# WPForms + WP Mail SMTP – Empty Message Error

 *  Resolved [krzd7](https://wordpress.org/support/users/krzd7/)
 * (@krzd7)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/wpforms-wp-mail-smtp-empty-message-error-2/)
 * Hello,
 * I’m using WPForms latest v1.8.6.2 along with WP Mail SMTP latest v3.11.0. However,
   I’ve noticed that despite the WP Mail SMTP test mail tool works, WPForms can’t
   send form mails.
 * I’ve tracked down and discovered the issue by turning on WPForms logs. When I
   send a form message I get the following error:
 * [WPForms\Emails\Mailer] Empty message.
 * I’ve found a fix, it is something related to the {all_fields} smart tag and templates.
   Using the following snippet and selecting the ‘Legacy’ email template allowed
   emails to work again
 * // Revert to legacy ‘HTML’ email template
   $settings = (array) get_option( ‘wpforms_settings’,[]);
   $settings[ ’email-template’ ] = ‘default’;update_option( ‘wpforms_settings’, 
   $settings );
 * Can you please verify this and fix so we can use other templates along with the{
   all_fields} smart tag?
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Ralden Souza](https://wordpress.org/support/users/rsouzaam/)
 * (@rsouzaam)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/wpforms-wp-mail-smtp-empty-message-error-2/#post-17385387)
 * Hi [@krzd7](https://wordpress.org/support/users/krzd7/),
 * Thanks for reaching out!
 * This is an unknown issue, and you should receive form notifications without a
   custom code.
 * When you get a chance, please share a screenshot from the WPForms log with that
   error. This may help us to understand the issue and provide further information.
 * And to solve the issue, please try the steps described in our detailed guide 
   on [how to test for plugin/theme conflicts](https://wpforms.com/docs/how-to-test-for-theme-or-plugin-conflicts/).
   This might be a conflict between the forms and the site theme or another plugin.
 * Thanks!
 *  Plugin Support [Ralden Souza](https://wordpress.org/support/users/rsouzaam/)
 * (@rsouzaam)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/wpforms-wp-mail-smtp-empty-message-error-2/#post-17391121)
 * Hi [@krzd7](https://wordpress.org/support/users/krzd7/),
 * We haven’t heard back from you in a few days, so I’m going to go ahead and close
   this thread for now. But if you’d like us to assist further, please feel welcome
   to continue the conversation.
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WPForms + WP Mail SMTP – Empty Message Error’ is closed to new replies.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Ralden Souza](https://wordpress.org/support/users/rsouzaam/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/wpforms-wp-mail-smtp-empty-message-error-2/#post-17391121)
 * Status: resolved