I would like to send a email (via SMTP) using the Uipath librairie, but if the body message contains character such as ‘à, è, ò, é’ or any others character with accent, the character get replaced by ‘?’ in the email.
Is there any ways to avoid the replacement? As it’s make the message hard to read.
Are you using html body or plain text? if it is plain text, maybe consider changing it to html, and when you are in html, try encoding the text before like this: System.Web.HttpUtility.HtmlEncode(varBodyText)
urgh, my bad, after going back into the code I realized my mistake, I’m actually using SMTP. Is that the same solution? I don’t actually have a ‘html option’ as some modules seems to have (Just looked it up in google). Any hints on how to do it?