Re: Questions bout internetAddress format.
Posted By:
Kevin_Kwan
Posted On:
Monday, May 3, 2004 08:02 AM
Use the parse method to parse out email addresses.
e.g.
MESSAGE_TO="emailone@somewhere.com,emailtwo@somewhere.com";
InternetAddress[] address = InternetAddress.parse(MESSAGE_TO);
msg.setRecipients(Message.RecipientType.TO, address);