[Seasar-user:11674] Re: s2mai

[E-MAIL ADDRESS DELETED]
2007年 11月 16日 (金) 13:08:03 JST


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 メーリングリストの案内