Actions
Feature #8335
closedEmail styles inline
Start date:
2011-05-11
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Description
Since gmail does not support CSS in head
, it would be helpful, if Redmine could apply styles inline. This is bearable, but cuteness sometimes wins over hearts of people, who still are not using Redmine.
I'm not much of ruby guy, but proposed solution would be parsing rules from head
section, and then applying them to body elements. That should be doable. On the other hand - maybe one can modify views (layout and email templates). If so, that would be sweet also.
On any exception (body is not well formed, head css is not parsable, etc) parser should terminate and fall back, sending message without modifying it.
Files
Related issues
Actions