[Seasar-user:11699] Re: s2mai
=?gb2312?B?wfihochBwbw=?=
[E-MAIL ADDRESS DELETED]
2007年 11月 19日 (月) 16:08:15 JST
if write like the following ,maybe it does work.
for (int i = 0; i < 10; i++) {
Mail mail = new Mail();
mail.setFrom(" [E-MAIL ADDRESS DELETED]");
mail.setTo("[E-MAIL ADDRESS DELETED]");
mail.setPropertyA(Integer.toString(i));
mailBox.sendMail(mail);
}
----- Original Message -----
From: 川赤
To: [E-MAIL ADDRESS DELETED]
Sent: Monday, November 19, 2007 3:53 PM
Subject: [Seasar-user:11698] Re: s2mai
Thanks for your reply.
But i have update s2mai to the last version(s2mai-0.9.4),the problem still
exists.
It seems to run quite well in junit.(Doesn't refer to transaction?) What's
the problem?
2007/11/16, 鎗 <[E-MAIL ADDRESS DELETED]>:
This is rokugen.
Sorry, I understand the problem.
There is bug in S2Mai's Transaction support.
Please use newest version, s2mai-0.9.4, and retry.
2007/11/16, 鎗 <[E-MAIL ADDRESS DELETED]>:
> Hi,this is rokugen ,s2mai commiter.
> I'm not good at English, sorry.
>
> You expect 10 mails sending , don't you?
> It works cerrectly for me.
>
> Please check "getPropertyA" implementation.
>
> 2007/11/16, 川赤 < [E-MAIL ADDRESS DELETED]>:
> > There is a problem happened when i using s2mai to send mails.
> >
> > Code :
> >
> > Mail mail = new Mail();
> > mail.setFrom(" [E-MAIL ADDRESS DELETED]");
> > mail.setTo("[E-MAIL ADDRESS DELETED]");
> > for (int i = 0; i < 10; i++) {
> > mail.setPropertyA(Integer.toString(i));
> > mailBox.sendMail(mail);
> > }
> >
> > mailTemplate:
> >
> > MailBox_sendMail.ftl:
> >
> > Subject: aaa
> >
> > The number is ${data.propertyA }.
> >
> > The expected mails are
> >
> > The number is 0(1,2,3,4,5,6,7,8,9).
> >
> > But the results are :
> >
> > The number is 9(9,9,9,9,9,9,9,9,9).
> >
> > What's wrong?
> >
> > _______________________________________________
> > Seasar-user mailing list
> > [E-MAIL ADDRESS DELETED]
> > https://ml.seasar.org/mailman/listinfo/seasar-user
> >
> >
>
_______________________________________________
Seasar-user mailing list
[E-MAIL ADDRESS DELETED]
https://ml.seasar.org/mailman/listinfo/seasar-user
----------------------------------------------------------------------------
--
_______________________________________________
Seasar-user mailing list
[E-MAIL ADDRESS DELETED]
https://ml.seasar.org/mailman/listinfo/seasar-user
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20071119/aead9a40/attachment.html
Seasar-user メーリングリストの案内