You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Efrén Díaz <ed...@valhallaproject.com> on 2002/03/08 22:00:25 UTC
Using VelocityEmail to send email to multiple addresses
Hello, i need some help, i was triying to send email to multiple addresses using VelocityEmail Class.
here is the code:
VelocityEmail email = new VelocityEmail();
email.setFrom(senderName,senderAddress);
email.setTo(toName1,toAddress1);
email.setTo(toName2,toAddress2);
email.setSubject(subject);
email.setContext(context);
i think that when i send it , it's only sended to the last address, instead of sending it to all, i think that maybe it's a bug, please let me know what you think.
Thanks.