Salve,
sto testando la funzione invia email di notifica a seguito della ricezione di una email tramite il Task manager.
Il task viene eseguito correttamente senza errori, nè a video, nè nei log, ma non riesco ad avere la notifica email (ho selezionato l'opzione "Invia email di notifica" ed il relativo template email e non ho impostato alcun tipo di filtro nel task).
Riesco ad ottenere lo spostamento tra due cartelle sull'IMAP server (Arrivate e Processate)
Ho provato:
- differenti account di posta configurati nella sezione Email account (libero e hotmail)
- differenti email selezionate nel campo TO del template email
- ad inserire delle impostazioni errate nella sezione SMTP dell'account
- ad inserire una email errata nella sezione TO del template email
ma il risultato è sempre lo stesso:
1 - non ho alcuna email di notifica tramite il template impostato e selezionato nel task
2 - non ho alcun errore nei log (catalina, cmdbuild, ecc.) , nemmeno se imposto parametri errati per l'SMTP e il destinatario dell'amail di notifica.
Allego i log. (CMDBuild 2.3, Ubuntu server 14.04, Tomcat 7, Postgres 9.4, Java 1.7.0_75)
Cosa potrei controllare ancora?
Grazie
INFO 2015-03-24 10:39:01 [cmdbuild] loading configurations
WARN 2015-03-24 10:39:05 [org.apache.cxf.bus.spring.OldSpringSupport] Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary.
INFO 2015-03-24 10:39:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:12 [cmdbuild] Number of fetched patches: 96
INFO 2015-03-24 10:39:12 [cmdbuild] Last patch /var/lib/tomcat7/webapps/cmdbuild/WEB-INF/patches/2.3.0-03.sql
INFO 2015-03-24 10:39:12 [cmdbuild] Last available patch is 2.3.0-03
INFO 2015-03-24 10:39:12 [cmdbuild] initializing cache
INFO 2015-03-24 10:39:12 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:12 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:12 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:12 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:12 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:12 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:12 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:12 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:12 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:12 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2015-03-24 10:39:14 [cmdbuild] Initializing ParameterTransformers
INFO 2015-03-24 10:39:14 [cmdbuild] Transformer for org.apache.commons.fileupload.FileItem: org.cmdbuild.servlets.utils.transformer.FileItemTransformer
INFO 2015-03-24 10:39:14 [cmdbuild] Transformer for org.json.JSONObject: org.cmdbuild.servlets.utils.transformer.JSONObjectTransformer
INFO 2015-03-24 10:39:14 [cmdbuild] Transformer for org.json.JSONArray: org.cmdbuild.servlets.utils.transformer.JSONArrayTransformer
INFO 2015-03-24 10:39:14 [cmdbuild] Initializer custom ParameterBuilders
INFO 2015-03-24 10:39:14 [cmdbuild] clearing DMS temporary folder
INFO 2015-03-24 10:39:14 [cmdbuild] starting scheduler service
INFO 2015-03-24 10:39:14 [cmdbuild] reading all existing tasks
INFO 2015-03-24 10:39:14 [cmdbuild] converting store task 'ReadEmailTask[id=6196,description=ControllaEmailTicket,running=true,lastExecution=2015-03-24T10:37:01.052+01:00,cronExpression=0/1 * * * ?,parameters={action.notification.active=true, account.name=Libero, action.attachments.category=null, filter.from.regex=null, action.workflow.fields.mapping=null, action.attachments.active=false, action.workflow.class.name=null, action.workflow.attachmentscategory=null, action.notification.template=Notifica Ticket, filter.subject.regex=null, action.workflow.active=false, action.workflow.advance=true, action.workflow.attachmentssave=false}]' to logic task
INFO 2015-03-24 10:39:15 [cmdbuild] converting store task 'ReadEmailTask[id=6352,description=email2,running=false,lastExecution=2015-03-24T09:26:00.732+01:00,cronExpression=0/1 * * * ?,parameters={action.notification.active=true, account.name=Libero, action.attachments.category=null, filter.from.regex=null, action.workflow.fields.mapping=null, action.attachments.active=false, action.workflow.class.name=null, action.workflow.attachmentscategory=null, action.notification.template=Notifica Ticket, filter.subject.regex=null, action.workflow.active=false, action.workflow.advance=true, action.workflow.attachmentssave=false}]' to logic task
INFO 2015-03-24 10:39:15 [cmdbuild] activating the existing task '6196'
INFO 2015-03-24 10:39:15 [cmdbuild] converting store task 'ReadEmailTask[id=6196,description=ControllaEmailTicket,running=true,lastExecution=2015-03-24T10:37:01.052+01:00,cronExpression=0/1 * * * ?,parameters={action.notification.active=true, account.name=Libero, action.attachments.category=null, filter.from.regex=null, action.workflow.fields.mapping=null, action.attachments.active=false, action.workflow.class.name=null, action.workflow.attachmentscategory=null, action.notification.template=Notifica Ticket, filter.subject.regex=null, action.workflow.active=false, action.workflow.advance=true, action.workflow.attachmentssave=false}]' to logic task
INFO 2015-03-24 10:39:15 [cmdbuild] creating a new scheduled task 'ReadEmailTask[id=6196,description=ControllaEmailTicket,active=true,cronExpression=0/1 * * * ?,lastExecution=2015-03-24T10:37:01.052+01:00,emailAccount=Libero,regexFromFilter=[],regexSubjectFilter=[],notificationActive=true,notificationTemplate=Notifica Ticket,attachmentsActive=false,attachmentsCategory=<null>,workflowActive=false,workflowClassName=<null>,workflowAttributes={},workflowAdvanceable=true,workflowAttachments=false,workflowAttachmentsCategory=<null>,mapper=org.cmdbuild.logic.taskmanager.task.email.mapper.NullMapperEngine@432fd05]'
INFO 2015-03-24 10:39:15 [cmdbuild] adding notification action
INFO 2015-03-24 10:40:00 [cmdbuild] starting job '6196'
INFO 2015-03-24 10:40:00 [email ] starting synchronization job
INFO 2015-03-24 10:40:00 [email ] receiving emails
INFO 2015-03-24 10:40:00 [email ] fetching folder 'Arrivate' for mails
INFO 2015-03-24 10:40:02 [email ] getting specified mail
INFO 2015-03-24 10:40:05 [email ] selects folder 'Processate'
INFO 2015-03-24 10:40:05 [email ] moving mail with id '<703880744.6625931427126079223.JavaMail.httpd@webmail-48.iol.local>' to folder 'Processate'
INFO 2015-03-24 10:40:07 [email ] executing actions
INFO 2015-03-24 10:40:07 [email ] finishing synchronization job
INFO 2015-03-24 10:40:07 [cmdbuild] stopping job '6196'
INFO 2015-03-24 10:41:00 [cmdbuild] starting job '6196'
INFO 2015-03-24 10:41:00 [email ] starting synchronization job
INFO 2015-03-24 10:41:00 [email ] receiving emails
INFO 2015-03-24 10:41:00 [email ] fetching folder 'Arrivate' for mails
INFO 2015-03-24 10:41:00 [email ] executing actions
INFO 2015-03-24 10:41:00 [email ] finishing synchronization job
INFO 2015-03-24 10:41:00 [cmdbuild] stopping job '6196'
INFO 2015-03-24 10:41:14 [cmdbuild] stopping scheduler service