Hello,
I'm experiencing a critical issue with email templates in EspoCRM 9.2.5 that makes them completely unusable for production.
The Problem:
When I create an email template with HTML content and use it to compose an email, the recipient receives the raw HTML code instead of the rendered email. The template displays as unformatted code in both the composer and the received email.
Steps to Reproduce:
<divstyle="text-align:center;margin-bottom:30px;"> <imgsrc="https://example.com/logo.png"width="350"style="display:block;margin:0 auto;"> </div> <p>Hallo {Person.firstName},</p> <tableborder="0"cellpadding="0"cellspacing="0"style="border-top:1px solid #d0d7e3;"> <tr> <td>Contact information here</td> </tr> </table>
Actual Result:
Is there:
Thank you!
I'm experiencing a critical issue with email templates in EspoCRM 9.2.5 that makes them completely unusable for production.
The Problem:
When I create an email template with HTML content and use it to compose an email, the recipient receives the raw HTML code instead of the rendered email. The template displays as unformatted code in both the composer and the received email.
Steps to Reproduce:
- Create an email template (Administration → Email Templates)
- Enable "HTML" checkbox
- Add HTML content with images and tables:
- <html>
<divstyle="text-align:center;margin-bottom:30px;"> <imgsrc="https://example.com/logo.png"width="350"style="display:block;margin:0 auto;"> </div> <p>Hallo {Person.firstName},</p> <tableborder="0"cellpadding="0"cellspacing="0"style="border-top:1px solid #d0d7e3;"> <tr> <td>Contact information here</td> </tr> </table>
- Save template
- Go to Contacts → Select contact → Compose Email
- Select the template from dropdown
- Send email
Actual Result:
- The email composer shows raw HTML code (all tags visible)
- The recipient receives raw HTML code in the email body
- Placeholders like {Person.firstName} are replaced correctly, but HTML is not rendered
- EspoCRM Version: 9.2.5
- Hosting: all-inkl.de (shared hosting)
- SMTP: Working correctly (emails send and receive fine)
- Template "HTML" checkbox: Enabled
- Placeholder: Person
- Verified HTML checkbox is enabled
- Tested with simple HTML (same issue)
- Cleared cache and rebuilt
- Tested different email clients (Thunderbird, Gmail) - all show raw HTML
- Reviewed forum threads about similar issues
Is there:
- A configuration setting I'm missing?
- A workaround for this issue?
- A fix planned for this in future versions?
- An alternative approach to sending HTML emails with proper formatting?
Thank you!

Comment