Special Character Display Issue in UiPath's "Send Outlook Mail" Activity for HTML-formatted Emails

Hi,

When using the “Send Outlook Mail” activity in UiPath to send an email with an HTML-formatted body, I encountered an issue with special characters displaying incorrectly. For Example, the text “Chers collègues” appears as “Chers coll�gues” in the email. How can I resolve this problem and ensure that the text is displayed correctly in the email body?

Thanks in Advance

Hi @Konda_Sai_Charan_Goud

When you are in html, try encoding the text before like this: System.Web.HttpUtility.HtmlEncode(varBodyText)

image

Ref- How to send email body message using character such as é, è, à

Hope this helps :slight_smile:

Hi @AJ_Ask . I have tried but its not working. Any alternate approach?