PreMailer.Net
PreMailer.Net copied to clipboard
External CSS files and Gmail
Using external stylesheets to works great with PreMailer!
I'm just leaving this here in case it helps anyone else. It's not specifically related to PreMailer, but it caught me for a minute.
Remember that some email systems ignore (see here) external stylesheets and since you have to use an HTML attribute (which doesn't exist in a standalone stylesheet) to ignore that style section, you effectively must put the mobile styles in a style tag inside the HTML document and ignore them there.
Maybe someday... :) HTH
Having a way for PreMailer.Net to automatically extract media queries would be useful for this case. For Backwards compatibility, it would need to be configurable. I will look into how difficult implementing something like that would be.