使用Windows Phone taks在电子邮件正文中发送html文本
来自
链接 我看到如何撰写邮件并发送。
From the link I see how to compose a mail and send.
是否可以输入上面链接中提到的用于EmailBody的htmlText?
Is it possible to input htmlText for EmailBody as mentioned in the above link?
当我构造一个带有html标签的字符串并将其作为输入提供时,它不会以HTML格式呈现。
When I construct a string with html tags and provide it as input, it doesn't render in HTML format.
有关如何做的任何想法?
Any ideas of how to do that?
感谢和问候Tejaswi Chandrapatla
Thanks & Regards Tejaswi Chandrapatla
根据MSDN,EmailComposeTask的Body属性不支持HTML Content。所以你的html内容不起作用。
As per MSDN, Body property of EmailComposeTask doesn't support HTML Content. So your html content will not work.
http://msdn.microsoft.com/En-Us/library/windows/apps/microsoft.phone.tasks.emailcomposetask.body
您可以使用第三方SDK发送带有html内容的电子邮件
You can use 3rd Party SDK to send email with html content