Hi,
How to add image file path name in outlook email body string with date?
I am getting error
Below updated the error and image name
Kindly please advise
Thanks
Hi,
How to add image file path name in outlook email body string with date?
I am getting error
Below updated the error and image name
now.tostring() is a function and it looks like right now its being understood as a string by the compiler (that’s why its the same colour as the other text).
you need to
move ‘ecaps’ to directly after ‘test\’ if you want it in the file name
move the ‘+’ before the now.ToString(…) to outside the ’ " ’ right before the ‘+’.
move the ‘+’ after the now.ToString(…) to outside the ’ " ’ right after the ‘+’
add a ’ " ’ before the ‘.png’
Hi Yash,
Thankyou for your prompt help, the error able to clear.
Would like to check with you about the file name…
How to save the file name?
Please correct me…
Your save file activity is configured incorrectly so it’s using now.ToString as literal text instead of evaluating the expression. Also, it’s a good idea to put the filename into a variable and then use the variable in the save and other references. Otherwise the now.ToString could generate a different value depending on when each activity actually runs.
Noted, Thanks Paul
replace that highlighted line in your body with the following:
huh i’m having trouble formatting it on the forum, replace the ‘~’ with ‘<’
~img src=‘H:\IMFS\Secure\CMP\Anandhu\DAM Email Report (auto)\test\ecaps" + now.ToString(“ddMMyyyy”) + ".png’>"
Thank you Yash
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.