Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear community
I'm need to Talend and not sure what the correct way is to handle email attachments.
I'm sending a binary file via a tRestRequest which I would like to send via email (attachment). As far as I can tell, the mail attachment parameter only accepts a String List.
Any ideas?
Regards,
Jaco
Here is some more Infos:
I can see that the binary file is read via tLogRow, just not sure how I can add this as an email attachment. The process should be able to attach any type of file.
Many thanks!
Regards,
Jaco
Hello,
Sorry for delay!
In attachments field of tsendmail component, you need to enter the path to the attached file or the path to the folder if all files directly under it will be attached.
Do you want to attach automatically an attachment to an email sending via REST?
Best regards
Sabrina
Hi Sabrina and thanks for the reply.
I think we will be more efficient if you would read the complete ticket.
My question was how can I attach a file (in BYTE[]) which was send via REST. I know how to attach a file from a file path. I can also save the received file to the file system, but the goal is to send it directly as attachment.
Goal is to build a message service so that I can send a mail with attachment via a REST connector.
Thanks!
Jaco