}
catch ( MessagingException e ) {
// TODO chain.
throw new MailboxException( "Messaging exception: " + e.getMessage() );
}
MessageFlags newFlags = new MessageFlags();
newFlags.setAll( originalMessage.getFlags() );
Date newDate = originalMessage.getInternalDate();
toMailbox.createMessage( newMime, newFlags, newDate);
}