I have a text asset in orch that holds the mail body.
The mail has to look a certain way so there are a few breaks (<b’r>) which works when isBodyHtml = true.
The main issue is the link to the folder.
The folderpath has spaces in it. eg c:\folder\folder2\here are spaces
so when the mail is sent, the link is broken (the company wants the spaces because of reasons unknown and is not something that can be changed)
When the mail is sent like this:
Hi <b’r> Click link c:\folder\folder2\here are spaces <b’r> Bye
The result is
Click link c:\folder\folder2\here are spaces
The result is as expected except that the link is only a link up until the first space, which is a problem since the folder can’t be found by clicking the link.
I have tried to capsulate the link with for example <>, <'a href=“https://www.w3schools.com/”>Visit W3Schools.com!, but in all cases the link is removed when these are added.
So when the mail is sent like this:
Hi <b’r> Click link <c:\folder\folder2\here are spaces> <b’r> Bye
The result is:
I have no how to fix this. Does anyone have any ideas?