Subversion Repositories javautils

Rev

Blame | Last modification | View Log | RSS feed

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <HTML>
  3. <!--
  4.     Copyright 1998-2007 Sun Microsystems, Inc.  All Rights Reserved.
  5.    
  6.     Redistribution and use in source and binary forms, with or without
  7.     modification, are permitted provided that the following conditions
  8.     are met:
  9.    
  10.       - Redistributions of source code must retain the above copyright
  11.         notice, this list of conditions and the following disclaimer.
  12.    
  13.       - Redistributions in binary form must reproduce the above copyright
  14.         notice, this list of conditions and the following disclaimer in the
  15.         documentation and/or other materials provided with the distribution.
  16.    
  17.       - Neither the name of Sun Microsystems nor the names of its
  18.         contributors may be used to endorse or promote products derived
  19.         from this software without specific prior written permission.
  20.    
  21.     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  22.    IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  23.     THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  24.     PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  25.     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  26.     EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  27.     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  28.     PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  29.     LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  30.     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  31.     SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  32. -->
  33.  
  34. <HEAD>
  35.         <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
  36.         <TITLE>JavaMail</TITLE>
  37. </HEAD>
  38.  
  39. <BODY BGCOLOR="#CCCCFF">
  40.  
  41. <FORM ACTION="/servlet/JavaMailServlet" METHOD="POST"
  42.         ENCTYPE="application/x-www-form-urlencoded">
  43. <P ALIGN="CENTER"><B><FONT SIZE="5" FACE="Arial, Helvetica">
  44. Welcome to JavaMail
  45. </FONT></B></P>
  46.  
  47. <P ALIGN="CENTER"><B><FONT SIZE="5" FACE="Arial, Helvetica">
  48. HTML Email Reader Demo
  49. </FONT></B></P>
  50. <CENTER>
  51. <P>
  52. <TABLE BORDER="0" WIDTH="100%">
  53.         <TR>
  54.                 <TD WIDTH="40%">
  55.                         <P ALIGN="RIGHT"><FONT FACE="Arial, Helvetica">
  56.                         IMAP Hostname:</FONT>
  57.                 </TD>
  58.                 <TD WIDTH="60%"><INPUT TYPE="TEXT" NAME="hostname" SIZE="25">
  59.                 </TD>
  60.         </TR>
  61.         <TR>
  62.                 <TD WIDTH="40%">
  63.                         <P ALIGN="RIGHT"><FONT FACE="Arial, Helvetica">
  64.                         Username:</FONT>
  65.                 </TD>
  66.                 <TD WIDTH="60%"><INPUT TYPE="TEXT" NAME="username" SIZE="25">
  67.                 </TD>
  68.         </TR>
  69.         <TR>
  70.                 <TD WIDTH="40%">
  71.                         <P ALIGN="RIGHT"><FONT FACE="Arial, Helvetica">
  72.                         Password:</FONT>
  73.                 </TD>
  74.                 <TD WIDTH="60%"><INPUT TYPE="PASSWORD" NAME="password"
  75.                         SIZE="25"></TD>
  76.         </TR>
  77. </TABLE>
  78. <INPUT TYPE="SUBMIT" VALUE="Login">
  79. <INPUT TYPE="RESET" NAME="Reset" VALUE="Reset"></P>
  80. </CENTER>
  81. <P>
  82. <HR ALIGN="CENTER">
  83. </P>
  84. <P><B><I><FONT FACE="Arial, Helvetica">Overview:</FONT></I></B></P>
  85.  
  86. <FONT SIZE="2" FACE="Arial, Helvetica">
  87. <b>THIS IS A DEMO!!!</b> Please see the JavaMailServlet.README.txt
  88. file for information on how to
  89. compile and run the servlet.<br> <br>
  90. This is a servlet that demonstrates the use of JavaMail APIs
  91. in a 3-tier application. It allows the user to login to an
  92. IMAP store, list all the messages in the INBOX folder, view
  93. selected messages, compose and send a message, and logout.
  94. </FONT>
  95.  
  96. <P><B><I><FONT FACE="Arial, Helvetica">Features:</FONT></I></B></P>
  97.  
  98. <UL>
  99.         <LI><FONT SIZE="2" FACE="Arial, Helvetica">
  100.         HTML access to your IMAP mailbox</FONT>
  101.         <LI><FONT SIZE="2" FACE="Arial, Helvetica">
  102.         Proxy-able anywhere HTTP can be proxied</FONT>
  103.         <LI><FONT SIZE="2" FACE="Arial, Helvetica">FAST!</FONT>
  104.         <LI><FONT SIZE="2" FACE="Arial, Helvetica">Easy to use</FONT>
  105.         <LI><FONT SIZE="2" FACE="Arial, Helvetica">
  106.         Uses web browser's content handling capabilities</FONT>
  107.         <LI><FONT SIZE="2" FACE="Arial, Helvetica">
  108.         Ultra small: 1 servlet (2 class files) and 1 html file (this one)</FONT>
  109. </UL>
  110.  
  111. <P><B><I><FONT FACE="Arial, Helvetica">Limitations:</FONT></I></B></P>
  112.  
  113. <UL>
  114.         <LI><FONT SIZE="2" FACE="Arial, Helvetica">
  115.         Only INBOX support (no user folders)</FONT>
  116.         <LI><FONT SIZE="2" FACE="Arial, Helvetica">
  117.         Can't delete, copy, move, print, save, forward, reply to, search in
  118.         messages --<BR>
  119.         but it could be done</FONT>
  120.         <LI><FONT SIZE="2" FACE="Arial, Helvetica">
  121.         Doesn't check for new messages (have to log out and log back it)</FONT>
  122. </UL>
  123.  
  124. <P>
  125. <HR ALIGN="CENTER">
  126. </P>
  127.  
  128. <P><FONT FACE="Arial, Helvetica">Feedback to </FONT>
  129. <A HREF="mailto:javamail@Sun.COM">
  130. <FONT FACE="Arial, Helvetica">javamail@Sun.COM</FONT></A>
  131. </FORM>
  132.  
  133. </BODY>
  134.  
  135. </HTML>
  136.