I receive mail in 'debug' mode instead to have a readable mail

Created on 19 April 2022, almost 3 years ago
Updated 20 November 2023, over 1 year ago

Hello,

I receive mail (form submission) like in a "debug mode" and not as a readable mail like I had yesterday. Perhaps I have switch somethings my mistake.

I have somethings like that:

<!-- THEME DEBUG -->
<!-- THEME HOOK: 'webform_email_html' -->
<!-- FILE NAME SUGGESTIONS:
   * webform-email-html--formulaire-de-contact--email--courriel.html.twig
   * webform-email-html--formulaire-de-contact--email.html.twig
   * webform-email-html--formulaire-de-contact.html.twig
   x webform-email-html.html.twig
-->
<!-- BEGIN OUTPUT from 'modules/contrib/webform/templates/webform-email-html.html.twig' -->
<html>
<head>
  <title>Webform submission from: Contactez-nous à notre agence d’Alsace (Grand Est de la France)</title>
</head>
<body>
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'webform_email_message_html' -->
<!-- FILE NAME SUGGESTIONS:
   * webform-email-message-html--formulaire-de-contact--email--courriel.html.twig
   * webform-email-message-html--formulaire-de-contact--email.html.twig
   * webform-email-message-html--formulaire-de-contact.html.twig
   x webform-email-message-html.html.twig
-->
<!-- BEGIN OUTPUT from 'modules/contrib/webform/templates/webform-email-message-html.html.twig' -->
<p>Submitted on 19/04/2022</p>
<p>Submitted by: Anonyme</p>
<p>Submitted values are:</p>


<!-- THEME DEBUG -->
<!-- THEME HOOK: 'webform_element_base_html' -->
<!-- FILE NAME SUGGESTIONS:
   * webform-element-base-html--select--type-de-contact.html.twig
   * webform-element-base-html--select.html.twig
   x webform-element-base-html.html.twig
-->
<!-- BEGIN OUTPUT from 'modules/contrib/webform/templates/webform-element-base-html.html.twig' -->
  <b>Type de contact</b><br />Demande de devis<br /><br />
[…]
and so on…

How to retrieve the previous rendering ?

Thanks.

💬 Support request
Status

Closed: cannot reproduce

Version

6.1

Component

User interface

Created by

🇫🇷France floown

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Another thing you can check is if you have a development.services.yml - In my case, it was here where I found a debug config for twig to be set to true. Make sure to set it there to false as well.

Production build 0.71.5 2024