单击链接按钮时如何在Outlook正文中获取HTML内容。 [英] How to get HTML content in outlook body while click on link button.

查看:229
本文介绍了单击链接按钮时如何在Outlook正文中获取HTML内容。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在点击电子邮件链接时在Outlook正文中获取正文html内容。内容应采用表格格式。



I want to get body html content in Outlook body when click on email link.Content should be in table format.

Name : 	Suneel		
Email : 	suneelgupta87@gmail.com		
Mobile:	9899767130		





我有什么试过:





What I have tried:

How to get HTML content in outlook body while click on link button.



我试过了 -


I have tried -

<script type="text/javascript">
       function check() {




 var mailTo = "suneelg@tiinfotech.com";
            var strSubject = "Hello";
            var htmlbody = "<table><tr><td>Name</td><td>Sourabh</td></tr><tr><td>Project</td><td>AMS</td></tr></table>";
            window.location.href = "mailto:" + mailTo + "?subject=" + strSubject + "&body=" + htmlbody;
        }
</script>

推荐答案

可以使用新行。但表,不,不可能。
New lines are possible. But table, no, not possible.


这篇关于单击链接按钮时如何在Outlook正文中获取HTML内容。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆