getmail3.jsp

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

<%--

<jrun:getmail host="" port="" id="mails" protocol="pop3"
              username="" password="">
select * from inbox where Sender contains 'daisy'
</jrun:getmail>

--%>

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


<%--

<jrun:param id="mails" type="EMailTable"/>
<jrun:foreach group="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="left"> &nbsp;<br> &nbsp;&nbsp;<font size="2"><a href="getmail.jsp">戻る</a></font> </td>
</tr>
</table>

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