Hi,
I'm trying to send a email each time I remove one document in nuxeo. I fill the file mail-service.xml in jboss with information below: <?xml version="1.0" encoding="UTF-8"?> <!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z [email protected] $ --> <server> <!-- ==================================================================== --> <!-- Mail Connection Factory --> <!-- ==================================================================== --> <mbean code="org.jboss.mail.MailService" name="jboss:service=Mail"> <attribute name="JNDIName">java:/Mail</attribute> <attribute name="User">nuxeo</attribute> <attribute name="Password">nuxeo</attribute> <attribute name="Configuration"> <!-- A test configuration --> <configuration> <!-- Change to your mail server prototocol --> <property name="mail.store.protocol" value="pop3"/> <property name="mail.transport.protocol" value="smtp"/> <!-- Change to the user who will receive mail --> <property name="mail.user" value="nobody"/> <!-- Change to the mail server --> <property name="mail.pop3.host" value="pop3.nuxeodomain"/> <!-- Change to the SMTP gateway server --> <property name="mail.smtp.host" value="smtp.nuxeodomain"/> <!-- The mail server port --> <property name="mail.pop3.port" value="111"/> <!-- The mail server port --> <property name="mail.smtp.port" value="26"/> <!-- Change to the address mail will be from --> <property name="mail.from" value="[email protected]"/> <!-- Enable debugging output from the javamail classes --> <property name="mail.debug" value="true"/> </configuration> </attribute> <depends>jboss:service=Naming</depends> </mbean> </server> And I create notification-contrib.xml file in nuxeo: <?xml version="1.0"?> <component name="com.atosorigin.biogune.NotificationContrib"> <extension target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService" point="generalSettings"> <settings> <serverPrefix>http://localhost:8880/nuxeo/</serverPrefix> <eMailSubjectPrefix>[Nuxeo]</eMailSubjectPrefix> <mailSessionJndiName>java:/Mail</mailSessionJndiName> </settings> </extension> <extension target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService" point="notifications"> <notification name="Deleting" channel="email" enabled="true" availableIn="all" autoSubscribed="true" template="deleted" subject="Document/Folder deleted" subjectTemplate="deleted" label="label.nuxeo.notifications.delete"> <event name="documentRemoved"/> <eventInfo recepients="user_admin"/> </notification> </extension> <extension target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService" point="templates"> <template name="deleted" src="templates/delete.ftl" /> </extension> </component> I need to send a email to user_admin user so, when I remove the document, I don't obtain any log, error or info about email sending and I don't get any email. What else I need to do or what can I check? Thank you José María Muñoz Tech. Solutions Atos Origin SAE ------------------------------------------------------------------ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. Este mensaje y los ficheros adjuntos pueden contener informacion confidencial destinada solamente a la(s) persona(s) mencionadas anteriormente pueden estar protegidos por secreto profesional. Si usted recibe este correo electronico por error, gracias por informar inmediatamente al remitente y destruir el mensaje. Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin no se hace responsable por su contenido. Su contenido no constituye ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes. Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor no puede garantizar nada al respecto y no sera responsable de cualesquiera danos que puedan resultar de una transmision de virus. ------------------------------------------------------------------
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
