Notificaciones via Email

cancel
Showing results for 
Search instead for 
Did you mean: 
psantis
Active Member II

Notificaciones via Email

Estiamados:


junto con saludar solicito su ayuda en un tema viejo, notificaciones vía email, sucede que configuro mi archivo custom-repository.properties y le doy mis parámetros al final del archivo para el smtp

mail.host=mail.empresa.cl
mail.port=25
mail.username=usuario
mail.password=password

no funciona, cabe señalar que ya hice la prueba del telnet a la ip y puerto 25 y los correos si me llegan ahora bien es un servidor domino (IBM) no se si eso tenga algo que ver, mirando el log de alfresco me da el error descrito más abajo, finalmente utilizo  laversion labs stable sobre ubuntu 8, muchas gracias




08:32:02,467 ERROR [org.alfresco.repo.action.executer.MailActionExecuter] Failed to send email to psantis
org.springframework.mail.MailPreparationException: Could not prepare mail; nested exception is org.alfresco.service.cmr.repository.TemplateException: Error during processing of the template 'Expression args is undefined on line 1, column 27 in workspace://SpacesStore/56fcc4b3-870a-4f67-adf5-115c1c4c9138.'. Please contact your system administrator.
Caused by: org.alfresco.service.cmr.repository.TemplateException: Error during processing of the template 'Expression args is undefined on line 1, column 27 in workspace://SpacesStore/56fcc4b3-870a-4f67-adf5-115c1c4c9138.'. Please contact your system administrator.
        at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:205)
        at org.alfresco.repo.processor.TemplateServiceImpl.processTemplate(TemplateServiceImpl.java:181)
        at org.alfresco.repo.processor.TemplateServiceImpl.processTemplate(TemplateServiceImpl.java:200)
        at org.alfresco.repo.action.executer.MailActionExecuter$1.prepare(MailActionExecuter.java:326)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344)
        at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:336)
        at org.alfresco.repo.action.executer.MailActionExecuter.executeImpl(MailActionExecuter.java:352)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:592)
        at org.alfresco.repo.action.executer.CompositeActionExecuter.executeImpl(CompositeActionExecuter.java:72)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:592)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:529)
        at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:391)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)

3 Replies
pjcaracuel_2349
Active Member II

Re: Notificaciones via Email

Buenas Peter,

Aparentemente la plantilla que utilizas para enviar el mail esta mal.

Error during processing of the template 'Expression args is undefined on line 1, column 27 in workspace://SpacesStore/56fcc4b3-870a-4f67-adf5-115c1c4c9138.'. Please contact your system administrator.

Saludos
psantis
Active Member II

Re: Notificaciones via Email

Esto de la plantilla es nuevo para mi,   yo  pensba que solo bastaba con configurar el archivo en shared mmm  , si alguine pudiese echarme una mano sería fantastico
pjcaracuel_2349
Active Member II

Re: Notificaciones via Email

Oki,

Puedes poner los pasos y archivos que utilizas para realizar las notificaciones?

Saludos