contentId, contentLocation, encoding);
message.addMessagePart(messagePart);
for (int index = 0; index < addressVector.size(); index++) {
Object address = addressVector.elementAt(index);
message.addAddress("to", address.toString());
}
messageConnection.send(message);
} catch (InterruptedIOException e) {
System.err.println("Interrupted while sending the log. " + e);