[Seasar-user:11670] s2mai

=?GB2312?B?wO7A1g==?= [E-MAIL ADDRESS DELETED]
2007年 11月 16日 (金) 11:04:20 JST


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?
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20071116/8dc856d6/attachment.html 


Seasar-user メーリングリストの案内