• Resolved krzd7

    (@krzd7)


    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

    (@rsouzaam)

    Hi @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. This might be a conflict between the forms and the site theme or another plugin.

    Thanks!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @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.