- First commit to issue fork.
- Open on Drupal.org →Core: 9.5.5 + Environment: PHP 7.4 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - @valdes14 opened merge request.
Only just started happening, but whenever an email is sent through the core Contact module, the received message is being sent with all HTML tags present, like this (username (user url) sen a message... is unaffected and displays correctly):
<div class="field field--name-message field--type-string-long field--label-above">
<div class="field--label">Message</div>
<div class="field--item">MESSAGE</div>
</div>
Using:
Drupal: 9.4.8
SMTP: 8.x-1.1
Ludwig: 2.0.5
PHPMailer library: 6.6.3
If I go into SMTP settings and turn OFF the HTML option, core Contact module sends correctly, with HTML tags stripped, BUT Webform module then starts sending messages with all HTML stripped (which is correct behaviour) and so all fields are then displayed in one long row.
Things tried:
Uninstalled SMTP and reinstalled (Ludwig)
Uninstalled SMTP and reinstalled (Composer)
Tested sending messages WITHOUT SMTP, sends correctly
Reinstalled Drupal core from scratch
Updated all input types
Added a secondary Message field in core Contact, using CKEditor, same issue
Notes:
Any help or suggestions, much appreciated.
Active
1.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.