throws MessagingException, IOException {
cdata.append("Date: "); // $NON-NLS-1$</BUG>
cdata.append(message.getSentDate());// TODO - use a different format here?
cdata.append(NEW_LINE);
cdata.append("To: "); // $NON-NLS-1$
<BUG>Address[] recips = message.getAllRecipients();

for (int j = 0; j < recips.length; j++) {
</BUG>
cdata.append(recips[j].toString());

throws MessagingException, IOException {
StringBuilder cdata = new StringBuilder();
cdata.append("Date: "); // $NON-NLS-1$
cdata.append(message.getSentDate());// TODO - use a different format here?
cdata.append(NEW_LINE);
cdata.append("To: "); // $NON-NLS-1$
Address[] recips = message.getAllRecipients(); // may be null
for (int j = 0; recips != null && j < recips.length; j++) {
cdata.append(recips[j].toString());
