Project

General

Profile

Actions

Feature #8335

closed

Email styles inline

Feature #8335: Email styles inline

Added by Anonymous over 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
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

email-inline-css.diff (1.01 KB) email-inline-css.diff Go MAEDA, 2015-08-05 17:36

Related issues 2 (0 open — 2 closed)

Related to Redmine - Defect #20466: Broken email notification layout in Outlook ClosedActions
Related to Redmine - Defect #12270: ¶ in email notifications when titles in description of ticket usedClosedActions

Updated by Go MAEDA over 11 years ago Actions #1

  • Has duplicate Defect #20311: Task from Email - Styles in task text added

Updated by Go MAEDA over 11 years ago Actions #2

  • Has duplicate deleted (Defect #20311: Task from Email - Styles in task text)

Updated by Go MAEDA over 11 years ago Actions #3

This issue can be resolved by using roadie-rails gem.

I have created a patch. Styles of all outgoing emails are automatically converted to inline styles.

Updated by Toshi MARUYAMA over 11 years ago Actions #4

  • Related to Defect #20466: Broken email notification layout in Outlook added

Updated by Toshi MARUYAMA about 11 years ago Actions #5

  • Target version set to 3.2.0

Updated by Jean-Philippe Lang about 11 years ago Actions #6

  • Status changed from New to Closed
  • Resolution set to Fixed

Updated by Go MAEDA about 8 years ago Actions #7

  • Related to Defect #12270: ¶ in email notifications when titles in description of ticket used added
Actions

Also available in: PDF Atom