foundation / foundation-emails

Quickly create responsive HTML emails that work on any device and client. Even Outlook.
https://get.foundation/emails/docs/
MIT License
7.77k stars 1.09k forks source link

Office 356 rendering #947

Open ghost opened 5 years ago

ghost commented 5 years ago

Good day, I took the "welcome.html" template and sent it to me by e-mail. In Outlook, I get the following view: https://imgur.com/yrEHgJ5 And in Thunderbird these: https://imgur.com/pgB6xLt How can I fix what the Outlook Mail looks like in Thunderbird? To send Emails. I'm taking PHPMailer.

burgiuk commented 5 years ago

Are you compiling the email as production?

chamilcar commented 5 years ago

I have the same problem, in Outlook doesn´t work fine: https://imgur.com/0hRRXO3

burgiuk commented 5 years ago

@chamilcar are you compiling the emails as production?

chamilcar commented 5 years ago

@chamilcar are you compiling the emails as production?

I think i don´t, How do i do that?

burgiuk commented 5 years ago

Try npm run production from the commandline in the folder of your project. This will compile the html and convert the CSS classes to inlined styles. You need inlined styles for Outlook.

chamilcar commented 5 years ago

I´ve already used this tool https://foundation.zurb.com/emails/inliner-v2.html

burgiuk commented 5 years ago

You shouldn't have to use another tool. The inliner is baked into FfE.

chamilcar commented 5 years ago

I inlined the example e-mail code into a html and send it. Gmail works fine, but Outook, doesn´t.