cancel
Showing results for 
Search instead for 
Did you mean: 

Notification.SendMail and files

pibou_Bouvret
Elite Collaborator
Elite Collaborator

I m trying to send all the files attached to the children of a folder as attachments in a single mail. What syntax is expected for such a use of the files parameter of the sendMail operation ?

3 REPLIES 3

pibou_Bouvret
Elite Collaborator
Elite Collaborator

Workaround :

Get Children of Folder
Get files
Zip
Create Document
Set File
Send email
Delete document

I did not even manage to do it without a temporary doc !

You should not have to create a Nuxeo document. Can you post your code?

Thanks.