I had to display html mail in body. my template body is with 2 tr body and outputs are 2 , what if output has 10 results so that i should dispay in html mail inbox with 10 results

i had a piece of html code which shows results as 2 items and i can get 2 item names in mail .

but when i get output result as 25 or 10 etc, how can i display 10 or 25 item names in html mail?

Hi @Mithesh_Reddy_Bolla

Try to pass the outputs as variables in Html tags!

Refer to the Screen shot and Sample source code below!

“table, th, td {border: 1px solid black; border-collapse: collapse;} th, td {padding: 5px;text-align: left;}

SNO TOTALCOUNT VALIDCOUNT INVALID_COUNT
1 ”+totalCount.ToString+" "+validFilesCount.ToString+" "+inValidfilesCount.ToString+"
"

Regard

1 Like