if (fProfile != null)
info.setDefaultProfile(fProfile);
NewMessageProxy proxy = new NewMessageProxy(info);
MessageUI nmu = Pooka.getUIFactory().createMessageUI(proxy, template);
nmu.openMessageUI();
} catch (OperationCancelledException oce) {
} catch (MessagingException me) {
Pooka.getUIFactory().showError(Pooka.getProperty("error.NewMessage.errorLoadingMessage", "Error creating new message: ") + "\n" + me.getMessage(), Pooka.getProperty("error.NewMessage.errorLoadingMessage.title", "Error creating new message."), me);
}
}