cosMessage.cc(simpleMessage.getCc()[j]);
}
}
if (simpleMessage.getBcc() != null) {
for (int j = 0; j < simpleMessage.getBcc().length; j++) {
cosMessage.bcc(simpleMessage.getBcc()[j]);
}
}
cosMessage.setSubject(simpleMessage.getSubject());
PrintStream textStream = cosMessage.getPrintStream();
textStream.print(simpleMessage.getText());