Outlook attaching an image in Signature

whenever i am checking IsBodyHtml the body of the email is shrinking- Fig1, but whenever i am unchecking its working as expected.-Fig2

Fig -1


Fig - 2

why is this so…

@devasaiprasad_K,

Your template would be text format and not html. So while rendering in HTML format it, UiPath considering it as plain text and ignoring string format.

When IsBodyHTML disabled, it’s taking the string as it is.

Thanks,
Ashok :slight_smile:

check if the linebreak is <br> when isBodyHtml is ticked

my code is as follows:

String.Format("Hi Team,


**Please find the {0} report Of {2}. **

N.B: Pls dont reply To this automated mail. Any concern , pls revert to {1}

**Regards, **
MSO Support ", in_ProcessName, in_SupportGroup,in_TodaysDate)

pls let me know how to convert it into HTML, i already once with HTML format… but not worked, pls help…

use the format button </> from editor and share properly the snippet with us. Thanks

OutlookText.txt (214 Bytes)

As mentioned try <br>
Had you done?

String.Format("Hi Team,{3}
Please find the {0} report Of {2}.{3} 
N.B: Pls dont reply To this automated mail. Any concern , pls revert To  {1}{3}
Regards,{3} 
MSO Support ", in_ProcessName, in_SupportGroup,in_TodaysDate, "<br>")

1 Like

passing
as a parameter has worked… thanks lot.

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