【发布时间】:2014-12-27 08:24:18
【问题描述】:
我在 vb.net 中有一个要求,例如 Outlook 邮件项目的正文应该包含一个链接。单击该链接后,应打开另一个邮件项目,其中包含收件人列表和抄送列表。我正在使用下面的代码,
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)
但我无法在 Outlook 中正确获取链接。显示如下,
Please, click the below link to view the details.
<a href=mailto:xxx@domain.com?Subject=DCW Trucking Ltd.> Click here to Approve </a>
我只需要“单击此处批准为链接”。
我不应该使用 Outlook dll。
【问题讨论】: