<!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 the following ,maybe it does
work.</FONT></DIV>
<DIV><FONT size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><BR> for
(int i = 0; i < 10; i++) {</DIV>
<DIV> Mail mail = new
Mail();<BR> mail.setFrom("<A
href="mailto:aaa@yahoo.com">
aaa@yahoo.com</A>");<BR> mail.setTo("<A
href="mailto:bbb@yahoo.com">bbb@yahoo.com</A>");<BR>
mail.setPropertyA(Integer.toString(i));<BR>
mailBox.sendMail(mail);<BR> }<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> </DIV>
<DIV>But i have update s2mai to the last version(s2mai-0.9.4),the problem
still exists.</DIV>
<DIV> </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, Áù <<A
href="mailto:rokugensai@gmail.com">rokugensai@gmail.com</A>>:</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, Áù <<A
href="mailto:rokugensai@gmail.com">rokugensai@gmail.com</A>>:<BR>>
Hi,this is rokugen ,s2mai commiter.<BR>> I'm not good at English, sorry.
<BR>><BR>> You expect 10 mails sending , don't you?<BR>> It works
cerrectly for me.<BR>><BR>> Please check "getPropertyA"
implementation.<BR>><BR>> 2007/11/16, ˔˅ <<A
href="mailto:yourslee@gmail.com"> yourslee@gmail.com</A>>:<BR>> >
There is a problem happened when i using s2mai to send mails.<BR>>
><BR>> > Code :<BR>> ><BR>> > Mail mail = new
Mail();<BR>> > mail.setFrom("<A href="mailto:aaa@yahoo.com">
aaa@yahoo.com</A>");<BR>> > mail.setTo("<A
href="mailto:bbb@yahoo.com">bbb@yahoo.com</A>");<BR>> > for (int i =
0; i < 10; i++) {<BR>> >
mail.setPropertyA(Integer.toString(i));<BR>> >
mailBox.sendMail(mail);<BR>> > }<BR>> ><BR>> >
mailTemplate:<BR>> ><BR>> > MailBox_sendMail.ftl:<BR>>
><BR>> > Subject: aaa<BR>> ><BR>> > The number is
${data.propertyA }.<BR>> ><BR>> > The expected mails
are<BR>> ><BR>> > The number is 0(1,2,3,4,5,6,7,8,9).<BR>>
><BR>> > But the results are :<BR>> ><BR>> > The number
is 9(9,9,9,9,9,9,9,9,9). <BR>> ><BR>> > What's wrong?<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>>
><BR>><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>