HTML to Outlook mail, single quote(') displaying as special character

Hi People,

I have a html document that contains some name with Single quotes(’).
Eg. uiforum’s.

When trying to send this html file through send outlook mail task, we are receiving it as a special character in the inbox.
Eg: uiforum�s.

Any suggestions?
Attached the html doc.Mail.html (42.6 KB)

looks diferent than bruno's maybe what you have there is not really an apostrophe char…

1 Like

Might be, but when i tried to write it manually, still it is not taking ’ .but it is writing it as ’ in html doc.

If you are sending that file as an attachment, then it is the one who views it that is making it a special character… i open it here with no problems…

No, i’m not sending it as an attachmemnt, It will be the email body.

Then you were not very clear before :slight_smile: Try like this when you set your body:
System.Net.WebUtility.HtmlEncode("<html>...</html>")

I have tried this but it is not working.Mailtype2.html (42.5 KB)

that is a function my friend… it is not to go inside your html, but to encode one…

1 Like

Could you please guide me here how to proceed like any sample bot if possible, i’m a begginer in UiPath.

image

Yeah, i have tried this even. no luck.