Defect #20466

Broken email notification layout in Outlook

Added by Benedikt Huss almost 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email notifications
Target version:3.1.1
Resolution:Fixed Affected version:3.1.0

Description

In #16535 a new style for emails was introduced. Obviously, this new style was not applied to reminder mails. Every textline is displayed on a white background with absolutely no margins, while the email body background is light gray.

It just looks broken at the momement.

Redmine_Reminder_Outlook_2013.png (10.8 KB) Benedikt Huss, 2015-08-03 16:00

Fixed_template.png (15.3 KB) Benedikt Huss, 2015-08-06 11:11

mailer.html.erb.patch Magnifier (1001 Bytes) Benedikt Huss, 2015-08-06 11:11

Outlook-Fix.patch Magnifier (3.74 KB) Benedikt Huss, 2015-08-11 09:01


Related issues

Related to Redmine - Feature #16535: Set a max width to html email content Closed
Related to Redmine - Feature #8335: Email styles inline Closed 2011-05-11
Duplicated by Redmine - Defect #20549: Background Color of Emails Closed
Duplicated by Redmine - Defect #20637: #16353 broke email notification layout in Outlook Closed

Associated revisions

Revision 14539
Added by Toshi MARUYAMA almost 3 years ago

3.1-stable: revert r14300 (#16535, #20466)

Set a max width to html email content.

Patch by Go MAEDA.

Revision 14541
Added by Toshi MARUYAMA almost 3 years ago

trunk: revert r14300 (#16535, #20466, #20641)

Set a max width to html email content.

Patch by Go MAEDA.

History

#1 Updated by Benedikt Huss almost 3 years ago

Mail looks fine in OS X Mail (Yosemite), but not in Outlook 2013.

#2 Updated by Go MAEDA almost 3 years ago

  • Related to Feature #16535: Set a max width to html email content added

#3 Updated by Go MAEDA almost 3 years ago

Could you try the patch attached on #8335?
The patch makes styles inline. I am not sure but perhaps it might fix this issue.

1. apply "email-inline-css.diff" patch attached on #8335
2. run bundle install RAILS_ENV=production
3. restart your Redmine application
4. send reminder

#4 Updated by Benedikt Huss almost 3 years ago

I have fixed most problems in Outlook, patch is attached.

The only problem that is still there is the missing space between the bullet and the text in the unordered lists. But I have no idea how to fix that.

Maybe the unordered list could be replaced with a table: http://stackoverflow.com/a/22053157

#5 Updated by Benedikt Huss almost 3 years ago

The patch Outlook-Fix contains all necessary fixes to that the emails are displayed correctly in Outlook, too.

mailer.html.erb.patch can be deleted.

#6 Updated by Toshi MARUYAMA almost 3 years ago

#7 Updated by Toshi MARUYAMA almost 3 years ago

#8 Updated by Toshi MARUYAMA almost 3 years ago

  • Duplicated by Defect #20637: #16353 broke email notification layout in Outlook added

#9 Updated by Toshi MARUYAMA almost 3 years ago

  • Subject changed from Redminder emails doesn't match new email style to broke email notification layout in Outlook added

#10 Updated by Toshi MARUYAMA almost 3 years ago

  • Subject changed from broke email notification layout in Outlook added to broke email notification layout in Outlook

#11 Updated by Toshi MARUYAMA almost 3 years ago

Benedikt Huss wrote:

The patch Outlook-Fix contains all necessary fixes to that the emails are displayed correctly in Outlook, too.

mailer.html.erb.patch can be deleted.

Could you try #8335 patch?
Your patch is unmaintainable.

#12 Updated by Toshi MARUYAMA almost 3 years ago

  • Target version set to 3.1.1

#13 Updated by Toshi MARUYAMA almost 3 years ago

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

I reverted r14300 in 3.1-stable r14539 and created #20641.

#14 Updated by Toshi MARUYAMA almost 3 years ago

  • Subject changed from broke email notification layout in Outlook to Broken email notification layout in Outlook

Also available in: Atom PDF