You may also want to take a look at the Apache Commons Email library. It is featureful and easy to use.
You could do something along the lines of:
import org.apache.commons.mail.SimpleEmail;
...
String[] recipients = {"a@foo.com", "b@foo.com"};
SimpleEmail email = new SimpleEmail();
email.setHostName("mail.myserver.com");
for (int i = 0; i < recipients.length; i++)
{
email.addTo(recipients[i]);
}
email.setFrom("me@apache.org", "Me");
email.setSubject("Test message");
email.setMsg("This is a simple test of commons-email");
email.send();
The sample code is taken from the Commons Email example page, modified to show adding multiple recipients. Hope that helps.