getmail.jsp

<%@ page contentType="text/html; charset=euc-jp" %>
<%@ page import="allaire.taglib.*" %>
<%@ taglib uri="jruntags" prefix="jrun" %>

<%--

<jrun:getmail session="session2" id="mails" protocol="imap"
              username="" password="">
select * from Inbox/People/Jessica
</jrun:getmail>

--%>

<%@ include file="html/header.html" %>
<table width="100%">
<tr>
<td><b>GETMAIL タグ: 例 1</b></td>
</tr>
<tr><td>

<%--

<jrun:param id="mails" type="EMailTable"/>
<jrun:foreach group="page.mails">
<b>メール ヘッダ名</b><br>
<jrun:foreach item="obj" type="String" group="<%= mails.Headers %>">
<%= obj %><br>
</jrun:foreach>
<b>メール ヘッダ値</b><br>
<jrun:foreach item="obj" type="String" group="<%= mails.Values %>">
<%= obj %><br>
</jrun:foreach>
<b>メール本文</b><br>
<%= mails.Message %><br>
</jrun:foreach>


--%>


</tr></td>
<tr>
<td align="right"> &nbsp;<br> <font size="2"><a href="getmail2.jsp">次へ</a></font> &nbsp;&nbsp;</td>
</tr>
</table>

<%@ include file="html/footer.html" %>