Author: lucaa
Date: 2008-02-06 17:33:10 +0100 (Wed, 06 Feb 2008)
New Revision: 7317

Modified:
   
xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchCode/SendPressReviewEmail
Log:
XWATCH-13: Allow to send a press review by email

* added style to the html email to increase line height.



Modified: 
xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchCode/SendPressReviewEmail
===================================================================
--- 
xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchCode/SendPressReviewEmail
     2008-02-06 12:48:16 UTC (rev 7316)
+++ 
xwiki-products/xwiki-watch/trunk/wiki/src/main/resources/WatchCode/SendPressReviewEmail
     2008-02-06 16:33:10 UTC (rev 7317)
@@ -91,7 +91,7 @@
   error = false;
   addresses = "";
   for (addr in request.getParameterValues("address")) {
-    message = content + "<br />" + xwiki.getURLContent(url);
+    message = "<div style='line-height: 1.5em'>" + content + "<br 
/>" + xwiki.getURLContent(url) + "</div>";
     //mailResult = 
xwiki.mailsender.sendTextMessage(xwiki.getXWikiPreference("admin_email"), addr, 
subject, message);
     mailResult = xwiki.mailsender.sendHtmlMessage(" XWiki Watch " + "<" + 
xwiki.getXWikiPreference("admin_email") + ">", addr, null, null, subject, 
message, message, null);
     if (mailResult == 0) {

_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to