如何使用mailto从邮件正文发送超链接

时间:2017-09-25 06:42:17

标签: c#

如何在邮件正文中发送Hyper Link。我无法发送它被视为字符串的链接。 使用代码:

string tempurl = "http://jcr.vidyoeval.ril.com/flex.html?roomdirect.html&key=j8XPnetS2l";
var mail_body = "mailto:" + "" + "?body=" + tempurl + "&subject=" + "Let us talk on JioHuddle";

// string mailto = string.Format("mailto:{0}?Subject={1}&Body={2}", "", "Let us talk on JioHuddle", tempurl);
System.Diagnostics.Process.Start(mail_body);

1 个答案:

答案 0 :(得分:-2)

将网址包含在" a href = ..."像这样:

var mail_body = "mailto:" + "" + "?body=<a href='"+ tempurl + "'>&subject=" + "Let us talk on JioHuddle"