<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1543" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff><FONT face="MS UI Gothic">
<DIV><FONT size=2>if write like&nbsp;the following ,maybe it does 
work.</FONT></DIV>
<DIV><FONT size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><BR>&nbsp; for 
(int i = 0; i &lt; 10; i++) {</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &nbsp; Mail mail = new 
Mail();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mail.setFrom("<A 
href="mailto:aaa@yahoo.com"> 
aaa@yahoo.com</A>");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mail.setTo("<A 
href="mailto:bbb@yahoo.com">bbb@yahoo.com</A>");<BR>&nbsp; &nbsp;&nbsp;&nbsp; 
mail.setPropertyA(Integer.toString(i));<BR>&nbsp; &nbsp;&nbsp;&nbsp; 
mailBox.sendMail(mail);<BR>&nbsp;}<BR></DIV></FONT>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt MS UI Gothic">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt MS UI Gothic; font-color: black"><B>From:</B> 
  <A title=yourslee@gmail.com href="mailto:yourslee@gmail.com">ÀîÀÖ</A> </DIV>
  <DIV style="FONT: 10pt MS UI Gothic"><B>To:</B> <A 
  title=seasar-user@ml.seasar.org 
  href="mailto:seasar-user@ml.seasar.org">seasar-user@ml.seasar.org</A> </DIV>
  <DIV style="FONT: 10pt MS UI Gothic"><B>Sent:</B> Monday, November 19, 2007 
  3:53 PM</DIV>
  <DIV style="FONT: 10pt MS UI Gothic"><B>Subject:</B> [Seasar-user:11698] Re: 
  s2mai</DIV>
  <DIV><BR></DIV>
  <DIV>Thanks for your reply.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>But i have update s2mai to the last version(s2mai-0.9.4),the problem 
  still exists.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>It seems to run quite well in junit.(Doesn't refer to transaction?) 
  What's the problem?</DIV><BR><BR>
  <DIV><SPAN class=gmail_quote>2007/11/16, Áù &lt;<A 
  href="mailto:rokugensai@gmail.com">rokugensai@gmail.com</A>&gt;:</SPAN> 
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">This 
    is rokugen.<BR><BR>Sorry, I understand the problem.<BR><BR>There is bug in 
    S2Mai's Transaction support. <BR><BR>Please use newest version, s2mai-0.9.4, 
    and retry.<BR><BR><BR>2007/11/16, Áù &lt;<A 
    href="mailto:rokugensai@gmail.com">rokugensai@gmail.com</A>&gt;:<BR>&gt; 
    Hi,this is rokugen ,s2mai commiter.<BR>&gt; I'm not good at English, sorry. 
    <BR>&gt;<BR>&gt; You expect 10 mails sending , don't you?<BR>&gt; It works 
    cerrectly for me.<BR>&gt;<BR>&gt; Please check "getPropertyA" 
    implementation.<BR>&gt;<BR>&gt; 2007/11/16, ÀîÀÖ &lt;<A 
    href="mailto:yourslee@gmail.com"> yourslee@gmail.com</A>&gt;:<BR>&gt; &gt; 
    There is a problem happened when i using s2mai to send mails.<BR>&gt; 
    &gt;<BR>&gt; &gt; Code :<BR>&gt; &gt;<BR>&gt; &gt; Mail mail = new 
    Mail();<BR>&gt; &gt; mail.setFrom("<A href="mailto:aaa@yahoo.com"> 
    aaa@yahoo.com</A>");<BR>&gt; &gt; mail.setTo("<A 
    href="mailto:bbb@yahoo.com">bbb@yahoo.com</A>");<BR>&gt; &gt; for (int i = 
    0; i &lt; 10; i++) {<BR>&gt; &gt; 
    mail.setPropertyA(Integer.toString(i));<BR>&gt; &gt; 
    mailBox.sendMail(mail);<BR>&gt; &gt; }<BR>&gt; &gt;<BR>&gt; &gt; 
    mailTemplate:<BR>&gt; &gt;<BR>&gt; &gt; MailBox_sendMail.ftl:<BR>&gt; 
    &gt;<BR>&gt; &gt; Subject: aaa<BR>&gt; &gt;<BR>&gt; &gt; The number is 
    ${data.propertyA }.<BR>&gt; &gt;<BR>&gt; &gt; The expected&nbsp;&nbsp;mails 
    are<BR>&gt; &gt;<BR>&gt; &gt; The number is 0(1,2,3,4,5,6,7,8,9).<BR>&gt; 
    &gt;<BR>&gt; &gt; But the results are :<BR>&gt; &gt;<BR>&gt; &gt; The number 
    is 9(9,9,9,9,9,9,9,9,9). <BR>&gt; &gt;<BR>&gt; &gt; What's wrong?<BR>&gt; 
    &gt;<BR>&gt; &gt; _______________________________________________<BR>&gt; 
    &gt; Seasar-user mailing list<BR>&gt; &gt; <A 
    href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org 
    </A><BR>&gt; &gt; <A 
    href="https://ml.seasar.org/mailman/listinfo/seasar-user">https://ml.seasar.org/mailman/listinfo/seasar-user</A><BR>&gt; 
    &gt;<BR>&gt; 
    &gt;<BR>&gt;<BR><BR>_______________________________________________ 
    <BR>Seasar-user mailing list<BR><A 
    href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</A><BR><A 
    href="https://ml.seasar.org/mailman/listinfo/seasar-user">https://ml.seasar.org/mailman/listinfo/seasar-user</A> 
    <BR><BR></BLOCKQUOTE></DIV><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Seasar-user mailing 
  list<BR>Seasar-user@ml.seasar.org<BR>https://ml.seasar.org/mailman/listinfo/seasar-user<BR></BLOCKQUOTE></BODY></HTML>