MailTo link in outlook email body not generating correct mail

735 Views Asked by At

I am having a href MailTo link in outlook mail body as below.

<a href = "mailto:[email protected]&subject=ITASK1632463&body=Product"> Product </a>

When I am clicking on this link, it is generating proper mail like below.

image

How ever when some of my colleagues are clicking on this link, their mail is generating incorrectly as below.

image

We all work in Virtual Machines and all my colleagues who are having this issues have been provided Virtual Machines by a different vendor. This makes me believe there would be some difference in Virtual Machines provided by vendor which is causing this. However I am struggling to find what difference and how to resolve this issue. Kindly help me with this issue.

1

There are 1 best solutions below

0
On

I have identified the issue. There should be ? in place of & in below html expression.

<a href = "mailto:[email protected]&subject=ITASK1632463&body=Product"> Product </a>