sendByMail
----------

                 Key: NXP-1781
                 URL: http://jira.nuxeo.org/browse/NXP-1781
             Project: Nuxeo Enterprise Platform 5
          Issue Type: New Feature
    Affects Versions: 5.1.2
            Reporter: Alain Escaffre
            Assignee: Narcis Paslaru 
            Priority: Critical
             Fix For: 5.1.3


There should be a method in the notification service to send an e-mail 
directly, without the use of an event. This method should have the following 
signature : 

-sendDocumentByEmail(DocumentModel doc, String freemarkerTemplateName, String 
commentaire, NuxeoPrincipal sender, StringList sendto)

Both DocumentModel and commentaire would be accessible to the freemarker 
template, to be able to send mail like : 

M TOTO  wants you to see the folowing document :  linkTodocument

"hello !

Have a look at this please !"

PS : The StringList should contain the emails of people to send to. If you 
think it is better an ArrayList or I don't know what, feel free ...



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to