[Seasar-user:11673] Re: s2mai

[E-MAIL ADDRESS DELETED]
2007年 11月 16日 (金) 12:58:43 JST


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