I would like to send a mail with variables. The first snippet is a raw HTML mailto text, the other one is my solution.
The problem is that then the body of the mail is no longer generated.
<a href="mailto:m.mustermann@domain.de?subject=Test%20Test%20Test%20Test&body=Test%20Test,%0D%0A%0D%0ATest%20Test%20Test%20Test.">Test</a>
<a href="mailto:?subject=MessageCode: @ErrorCode %20&body=Test%20Test,%0D%0A%0D%0AURL: @navigationManager.Uri">Send Mail</a>