GNOME Bugzilla – Bug 481744
Evolution: Feature request: Suppor...
Last modified: 2007-10-01 10:28:19 UTC
Feature request: Support color in HTML mail. I use svnnotify to send out HTML notifications when commits are made to a Subversion repository and it colorizes the diff out put and the message for readability. It looks rather unhappy without the color. I was unable to find a preferences option to enable this, so it looks like it is not supported at all. Presently using evolution 2.12.0 on Ubuntu Gutsy. Distribution: Ubuntu 7.10 (gutsy) Gnome Release: 2.20.0 2007-09-17 (Ubuntu) BugBuddy Version: 2.18.1
we do support color. can you please elaborate a bit?
Created attachment 96444 [details] Rendering provided by Evolution This is what I get for messages sent via the "svnnotify" script. This is the way that Evolution renders the message. More attachments coming... sorry for the delay; I was trying to find a commit message that I could use, but had to create a commit just for this bug report.
Created attachment 96445 [details] Correct rendering of the same message This is the correct rendering of the message. Thunderbird will provide correct rendering, as well, but I no longer have it installed, as I switched back to Evolution when I upgraded my system to Gutsy (I had originally moved away from Evolution because bug 446894 was a breaker for me, which is still present in Feisty).
Created attachment 96446 [details] This is the HTML source for the HTML mail message, sans mail headers This is the source of the message that renders incorrectly in Evolution. It looks like the problem might be that Evolution is ignoring the way that svnnotify applies the color to the message; svnnotify uses standard XHTML to format its message, which does not have presentational elements.
Comment on attachment 96446 [details] This is the HTML source for the HTML mail message, sans mail headers ><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> ><HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD> > ><META content="text/html; charset=utf-8" http-equiv="content-type"/><STYLE type="text/css"><!-- >#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } >#msg dt { float: left; width: 6em; font-weight: bold; } >#msg dt:after { content:':';} >#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } >#msg dl a { font-weight: bold} >#msg dl a:link { color:#fc3; } >#msg dl a:active { color:#ff0; } >#msg dl a:visited { color:#cc6; } >h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } >#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; } >#msg ul, pre { overflow: auto; } >#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } >#patch { width: 100%; } >#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;} >#patch .propset h4, #patch .binary h4 {margin:0;} >#patch pre {padding:0;line-height:1.2em;margin:0;} >#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;} >#patch .propset .diff, #patch .binary .diff {padding:10px 0;} >#patch span {display:block;padding:0 10px;} >#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;} >#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} >#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} >#patch .lines, .info {color:#888;background:#fff;} >--></STYLE><TITLE>[staffasap-svn] [383] Modified the script to have better identification information at the top.</TITLE></HEAD><BODY> > ><DIV id="msg"> ><DL> ><DT>Revision</DT> <DD><A href="#">383</A></DD> ><DT>Author</DT> <DD>mbt</DD> ><DT>Date</DT> <DD>2007-10-01 04:47:12 +0000 (Mon, 01 Oct 2007)</DD> ></DL> > ><H3>Log Message</H3> ><PRE>Modified the script to have better identification information at the top. It >was necessary anyway, but this commit is isolated from other commits for the >purpose of providing some data for a bug report against a mail user agent >program being used.</PRE> > ><H3>Modified Paths</H3> ><UL> ><LI><A href="#branchesSASAP_V2utilspatchlivesasapsh">branches/SASAP_V2/utils/patch-live-sasap.sh</A></LI> ></UL> > ></DIV> ><DIV id="patch"> ><H3>Diff</H3> ><A id="branchesSASAP_V2utilspatchlivesasapsh"/> ><DIV class="modfile"><H4>Modified: branches/SASAP_V2/utils/patch-live-sasap.sh (382 => 383)</H4> ><PRE class="diff"><SPAN> ><SPAN class="info">--- branches/SASAP_V2/utils/patch-live-sasap.sh 2007-09-30 01:34:22 UTC (rev 382) >+++ branches/SASAP_V2/utils/patch-live-sasap.sh 2007-10-01 04:47:12 UTC (rev 383) ></SPAN><SPAN class="lines">@@ -1,6 +1,7 @@ ></SPAN><SPAN class="cx"> #!/bin/bash ></SPAN><SPAN class="cx"> # ></SPAN><DEL>-# Hotpatch the server. ></DEL><INS>+# $Id$ >+# Do a code push to the servers. ></INS><SPAN class="cx"> # ></SPAN><SPAN class="cx"> ></SPAN><SPAN class="cx"> rm -Rf ${HOME}/sasap-v2branch ></SPAN></SPAN></PRE> ></DIV> ></DIV> > > ></BODY></HTML>
ahhh... okay, i thought you were talking about *manually sending* messages - okay, the problem is that evolution does not support CSS. the classic html color stuff works, though. *** This bug has been marked as a duplicate of 247564 ***