public void initProcessors() throws Exception {
try { // initialize text processors with templates from settings
if (sosSettings!=null && sosSettings instanceof SOSConnectionSettings){
this.mailPlainTextProcessor = new SOSPlainTextProcessor((SOSConnectionSettings) sosSettings );
this.mailPlainTextProcessor.setHasLocalizedTemplates(this.hasLocalizedTemplates());
this.mailPlainTextProcessor.getTemplates(this.getSectionMailTemplates(), this.getApplicationMailTemplates());
this.mailPlainTextProcessor.getScripts(this.getSectionMailScripts(), this.getApplicationMailScripts());
this.mailDocumentFactoryTextProcessor = new SOSDocumentFactoryTextProcessor((SOSConnectionSettings) sosSettings);