Author: keith
Date: Sat Jul 12 05:12:27 2008
New Revision: 19169
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=19169

Log:
Updating doc to contain details about sending HTML mail


Modified:
   trunk/mashup/java/xdocs/emailhostobject.html

Modified: trunk/mashup/java/xdocs/emailhostobject.html
URL: 
http://wso2.org/svn/browse/wso2/trunk/mashup/java/xdocs/emailhostobject.html?rev=19169&r1=19168&r2=19169&view=diff
==============================================================================
--- trunk/mashup/java/xdocs/emailhostobject.html        (original)
+++ trunk/mashup/java/xdocs/emailhostobject.html        Sat Jul 12 05:12:27 2008
@@ -1,4 +1,5 @@
-<!--
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><!--
   ~ Copyright 2005-2008 WSO2, Inc. (http://wso2.com)
   ~
   ~ Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,17 +14,12 @@
   ~ See the License for the specific language governing permissions and
   ~ limitations under the License.
   -->
-<html>
-<head>
 
   <meta http-equiv="content-type" content="">
-  <title>Email Host Object</title>
+  
 
 
-  <link href="css/mashup-docs.css" rel="stylesheet" type="text/css" 
media="all">
-
-</head>
-
+  <title>Email Host Object</title><link href="css/mashup-docs.css" 
rel="stylesheet" type="text/css" media="all"></head>
 
 <body>
 
@@ -327,7 +323,17 @@
 
     </tr>
 
-    <tr>
+    <tr><td><span style="font-weight: bold;">void html(String html | XML 
html)</span></td><td>An optional property to set the body&nbsp;of the email
+to be sent. This function can be used to send HTML mail.<br><span 
style="font-style: italic;">
+&nbsp; &nbsp; email.html = "&lt;h1&gt;WSO2 Mashup server 1.0 was
+Released on 28th January 2008&lt;/h1&gt;"; &nbsp;// Setthing the HTML
+content as a String</span><br>&nbsp;
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OR<br>&nbsp; &nbsp; <span 
style="font-style: italic;">email.html
+= &lt;h1&gt;WSO2 Mashup server 1.0 was Released on 28th January
+2008&lt;/h1&gt;; &nbsp; &nbsp; // Setting the HTML content as an XML
+object</span></td></tr><tr>
 
       <td><span style="font-weight: bold;">void
 addAttachment([String filePath]* [FileHostObject file]*)</span></td>
@@ -373,5 +379,4 @@
 
 <p>� 2007-2008 WSO2 Inc.</p>
 
-</body>
-</html>
+</body></html>
\ No newline at end of file

_______________________________________________
Mashup-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to