Test Email Works. Email Sent Loses Styling.

Running into something weird. I’m on Mautic 2.11.0. Create an email that can be sent out to a segment. I’m using code mode and referencing an external style sheet. When save changes and send the test email, all formatting looks perfect. When I then publish the email and send to a segment, all formatting from the style sheet is lost. Just doesn’t make sense. I’ve tried more than once - very weird.

Running into something weird. I’m on Mautic 2.11.0. Create an email that can be sent out to a segment. I’m using code mode and referencing an external style sheet. When save changes and send the test email, all formatting looks perfect. When I then publish the email and send to a segment, all formatting from the style sheet is lost. Just doesn’t make sense. I’ve tried more than once - very weird.

@theatereleven external style sheets are generally not supported in email. CSS has to be internal (within style tag in head) and/or inlined.

https://litmus.com/blog/a-guide-to-css-inlining-in-email

https://www.campaignmonitor.com/css/

Oh, okay. I did not know that. The weird thing is that’s it’s been working fine for awhile. Thank you!

:slight_smile:

That worked! Just did another and put the styles inside. I just wish I knew what had changed, and also why the test email works and the “real” one doesn’t. Really need Mautic to offer a template email option, so we can save styling in one place and apply it easily to emails.