Append a variable in the Email Body

Hi All,

As im a beginner , i’m trying to explore the send outlook mail message option and i got stuck at appending a variable into the Email Body. Please find the below reference where i need help.
Thanks in Advance.

@ppratz could you ellaborate what you have exactly wrote in body ?

Hi,
Unable to process the request because it has error -(variablename will come here)

Thanks,
Ui Path

@ppratz So you want to print like this in your body part?

“Hi,”+Environment.NewLine+Environment.NewLine+"Unable to process "+username

2 Likes

Yes thats correct

1 Like

@ppratz
“Hi,”+Environment.NewLine+Environment.NewLine+“Unable to process the request because it has error”+Variable1+Environment.NewLine+Environment.NewLine+“Thanks,”+Environment.NewLine+“Uipath”

Variable1=“Error message : Invalid data”

O/P
pptr

1 Like

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