Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Aimer
Contributor II
Contributor II

ESB Send cmail

Now i can use cmail to send email , but i dont kown how to write the body.

Labels (2)
4 Replies
Anonymous
Not applicable

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

Aimer
Contributor II
Contributor II
Author

thx for your help,so the body of mail should use like attachment?

 

Anonymous
Not applicable

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

 

 

 

Aimer
Contributor II
Contributor II
Author

i only want to read the file,and,put it into the mailbody, can you tell the code about cProcessor plz