Send Outlook Mail Message Dynamic Value

Hi Team,

In Send Outlook Mail Message activity in Body part i just mentioned as below. I have stored the bot machine name in a variable and trying to embed below regards but its not working
“Hi,

Please find the attached file.

Regards
+Bot Machine Name”

Correct me if i am wrong.

HI @Robotics

Try with this Body content

"Hi,<br><br>Please find the attached file.<br><br>Regards"+variable1

You can play with this link

Regards
Gokul

Hi,

Can you try the following step?

strBody ="Hi,
Please find the attached file.

Regards
{0}"

Then

string.Format(strBody,varBotMAchineName)

This will replace {0} with content of varBotMAchineName.

OR Create HTML Content activity might help you.

https://docs.uipath.com/activities/docs/create-html-content

Regards,

Hi Gokul. +variable1 is fine but
is not working all displaying in single line

Hi @Robotics

Can you tell what is not working for you?

Have enable this IsBodyHTML in the properties ?

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.