[jboss-user] [JBoss Seam] - Send mails with Renderer.instance().render in loop don't wor
gui92
do-not-reply at jboss.com
Fri Mar 9 14:02:39 EST 2007
Hello
I try to send multiple emails in a jsf backing bean :
| for (User u:getRecipients())
| {
| setCurrentRecipient(u);
| Renderer.instance().render(templatePath);
| }
|
That's work great for the first iteration, but for the next ones, i get exceptions from the "m:from" tags:
| Illegal character in domain (noreply at test.comnoreply@test.com)
| Illegal character in domain (noreply at test.comnoreply@test.comnoreply at test.com)
| Illegal character in domain (noreply at test.comnoreply@test.comnoreply at test.comnoreply@test.com)
| Illegal character in domain (noreply at test.comnoreply@test.comnoreply at test.comnoreply@test.comnoreply at test.com)
|
It seams to concatenate the vars in mail template at each iterations.
I use SEAM 1.2GApatch1 and JBoss 4.0.5AS.
Thanks for your help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026718#4026718
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026718
More information about the jboss-user
mailing list