Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Now i can use cmail to send email , but i dont kown how to write the body.
Hello,
You could use a cProcessor component to add the exchange body as an attachment.
Please have a look at this KB article about: https://community.talend.com/s/article/Using-cMail-to-send-email-with-an-attachment-from-a-Route-2pv...
Let us know if it meet your needs.
Best regards
Sabrina
thx for your help,so the body of mail should use like attachment?
Hello,
The work flow should be like this:
a cFile is used to create/read a text file with the body contained in the exchange variable.
a cProcessor reads the mail's body and object. It appends the mail object to the mail body in the exchange variable.
a cMail is plugged on your mailbox
Best regards
Sabrina
i only want to read the file,and,put it into the mailbody, can you tell the code about cProcessor plz