How to make Outlook recognize a whole link, not just a part of it?

350 Views Asked by At

my program in UiPath(VB.NET) sends messages with two types of link to local folder to a client.

First link is for browser and looks like "https://tpra.local/lib/КОМПАНИЯ/...". A problem is it's not recognized as a whole. Outlook recognizes this link, makes blue and underlines it only until first cyrrilic letter "К". This letter and everything after it is not recognized as a link. So when a client clicks it, he goes to "https://tpra.local/lib/", which is NOT a full path.

I tried to use WebUtility.UrlEncode, which is belived to replace cyrrilic symbols, but it replaced ALL symbols, including slashes, so Outlook does not undestand a link either.

But the link without "https" //tpra...local/lib/КОМПАНИЯ/... - works well and opens a correct directory in explorer.
I need to have both links - for explorer and for a browser - working well. So how can i make outlook recognize whole "https" link, just like it does with other link?

1

There are 1 best solutions below

3
On BEST ANSWER

Set the HTMLBody property (instead of Body) to a properly formatted HTML string, <a> tags and all.