I have an requirement in vb.net like, Body of Outlook mail item should contain a link. On clicking that link, another mail item should open with To list and CC list. I am using below code,
string Body = "";
Body += "Please, click the below link to view the details. %0D%0D"
Body += "<a href=mailto:" + cc + "?Subject=" + Subject + "> Click here to Approve </a>"
sMsg = User.Redirect("mailto:" + cc + "?Subject=" + Subject + "&body=" + Body)
ScriptManager.RegisterStartupScript(Me.Page, Me.GetType(), "showalert", sMsg, True)
But I am not getting the link properly in Outlook. It is displaying as below,
Please, click the below link to view the details.
<a href=mailto:xxx@domain.com?Subject=DCW Trucking Ltd.> Click here to Approve </a>
I need to have only 'Click here to approve as link'.
I should not use Outlook dll. Please help asap.