Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After activating Mail System, $body within emails generated by webform submissions are stripped of HTML tags. Is this is related to #1135978: Mail System format() method uses drupal_html_to_text() which strips linefeeds from input.?
For now, I am using nl2br on $body in htmlmail-webform-submission.tpl.php. However, is there a way to not strip the HTML from Webform emails?
Comments
Comment #1
2ndmile CreditAttribution: 2ndmile commentedExperiencing the same thing and I have the same question. How do we 'exempt' webform?
Comment #2
pillarsdotnet CreditAttribution: pillarsdotnet commentedThe Mail system 6.x-2.x is a backport of the Drupal-7 mail system to Drupal-6. You are experiencing exactly the same issues as if you had upgraded.
Comment #3
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer and at Appnovation for Pfizer, Inc. commentedThe 6.x branch is no longer supported.