SparkPost / heml

HEML is an open source markup language for building responsive email.
https://heml.io
MIT License
4.33k stars 157 forks source link

formatting issue (maybe) #52

Open Severian999 opened 6 years ago

Severian999 commented 6 years ago

First off, I love heml. It makes writing html emails so much easier it's not even funny. :) However, I've run into a problem, and I don't know if it's the email client that has the problem, or if I'm doing something wrong, or that's just the way its supposed to work. So, after building an email, if I open the html file in Chrome (as a page) I get exactly what I expect: goodemail

However, when I paste the html into my email client (Office 365 Outlook for Web) it no longer respects the table width property: bademail

Any insight would be great. Thanks!

avigoldman commented 6 years ago

Hey @Severian999 👋 Thank you for the kind words! If I understand correctly, you are trying to send the generated HTML through Outlook for Web. Unfortunately most email clients don't let you send complex HTML through their web interfaces. You'll want to use a mail service like SparkPost for sending in code, a marketing tool, or maybe Putsmail if you're just testing an email out.

If you still see issues, feel free to share your HEML and we'll be happy to debug with you 😄