How create a dynamic email body where email html template is coming from database?

studio
variable

#1

Dear {empName}, {enterforspace} {enterforspace} Background Verification Phase 2 is successfully completed. {enterforspace} {enterforspace} {table} {bgcRequestId} {
empId} {enterforspace} {enterforspace}
{enterforspace} {enterforspace} Best regards, {enterforspace} Digitized BGC Team {enterforspace} {enterforspace} ({Pleasedonotreplytothise-mail})

I have to replace those variables in uipath. the value will be vary according to the mail type


#2

Hi @sup_93,
Execute query and assign those values to variables.Place for each row and place send mail in it so that you can send mails with dynamic body and pass the variables in the mail body.

Thanks,
Sreekanth.K


#4

But no. of variables can be different for different mail type!!


#5

Place an if condition for comparing the mail types and pass the variables accordingly


#6

Hi,
Please follow similar tutorial,

Thanks,
Karthik


#7

Hi,

Please find the similar tutorial,

https://www.youtube.com/edit?o=U&video_id=VDUEkd7P5rU

Thanks,
Karthik