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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

insert html code in the message of the tSendMail component

Good morning,
I would like to insert html code in the field 'message' of a tSendMail component. How can I do?
thank you in advance
Labels (2)
6 Replies
Anonymous
Not applicable
Author

Hello
I would like to insert html code in the field 'message' of a tSendMail component. How can I do?

It is impossible to type in the message with html code format. You can type it in a file and send it as a attachment file.
Best regards

shong
Anonymous
Not applicable
Author

Hi Shong,
Is writing HTML code in message field of tsendMail not possible even in TIS version 4.1?
Thanks,
Brevis
Anonymous
Not applicable
Author

Hi,
In advanced parameterof tsendMail you can choose html. Then I suggest you to create un context.body variable and use a tjava to put your HTML message in there. Then in your tSendMail component message put your context.body. This is how I do and it works.
Anonymous
Not applicable
Author

But if your message doesn't contain any "dynamic" variable you can just put the html code in the message field.
Anonymous
Not applicable
Author

Thank you Or3l for that quickest reply! My plan is that the whole message is an html string from the global map, is that possible too?
Like this: (String)globalMap.get("MESSAGE")
Where MESSAGE has value for example: "<html><body><h3>Test</h3></body></html>"
Thanks!
Kurt
Anonymous
Not applicable
Author

Sry for responding so late. Yes you can use it like this ^^