how to specify dynamically parameters in cMail

One Star

how to specify dynamically parameters in cMail

Hi,
Please, I try to send an email with dynamic parameters with cMail, subject for example  ? 
I don't know how to instantiate these strings.
The subject is in the body of my message I can set in the header if needed.
I tried with context, globalMap, simple language ... nothing works.
A workaround would be a talend job but there is a way with the cMail ?
best regards,
Ben
Moderator

Re: how to specify dynamically parameters in cMail

Hi,
Do you want to use talend context variables in Mediation Route spring configuration? Here is a new feature jira issue here:https://jira.talendforge.org/browse/TESB-14430
Have you tried to use PropertyPlaceholder? http://camel.apache.org/using-propertyplaceholder.html

Best regards
Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

What’s New for Talend Spring ’19

Join us live for a sneak peek!

Sign up now

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download