message.setSentDate(new Date());
message.setFlag(Flags.Flag.SEEN, true);
Message[] msgs = new Message[1];
msgs[0] = message;
if (msgs.length != 0) {
dfolder.appendMessages(msgs);
}
this.setOpenedFolder(dfolder);
} catch (FolderNotFoundException t) {
ApsSystemUtils.logThrowable(t, this, "sent", "Sent Folder '" + sentFolderName + "' not Found");
this.addActionError(this.getText("SENT_FOLDER_NOT_FOUND", new String[]{sentFolderName}));