Skip to content
Back

SMTP email templates break html

  • 0
  • Messaging
squeaky2137
13 Feb, 2026, 07:15

Hey, Im trying to create a custom template for the team invite email. The issue is the html invite I created (which works in normal emails and fake emails I send with appwrites messaging ) doesnt work when i put it into the templates. Is there any reason as to why or the fix?

To be more specific, the html works but the coloring breaks, its zoomed out (like its in an iframe box) and about 60% of the styling breaks

TL;DR
Developers are experiencing issues with SMTP email templates breaking HTML, causing formatting and styling problems within the email. The HTML invite template created works in normal emails and fake emails sent through the appwrite messaging function, but breaks when placed into SMTP templates. The email template displays zoomed-out, as if in an iframe box, and about 60% of the styling is lost. Solution: Check for any conflicting CSS styles within the SMTP email templates that may be overriding the formatting of the HTML invite. Make adjustments to ensure the styling is consistent across all emails.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more