SharePoint Visual工作流电子邮件活动添加富文本 [英] SharePoint Visual workflow email activity add rich text

查看:62
本文介绍了SharePoint Visual工作流电子邮件活动添加富文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在SharePoint托管的应用程序中使用Visual Studio工作流发送电子邮件。是否可以发送包含丰富文本
的电子邮件


参见下面的示例,

 <代码样式="边距:0px;填充:0px;边框:0px;字体大小:13px;字体系列:Consolas,Menlo,Monaco,'Lucida控制台' ,'Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif; white-space:inherit"> < b>   Hi UserName  < b>  
项目已成功提交。

问候,
支持团队

目前Visual Studio中的电子邮件活动似乎只接受字符串。


我是否可以安装任何其他活动来获取富文本格式  ;或者是否有任何示例。



非常感谢任何帮助


解决方案


我们可以在电子邮件正文中嵌入html富文本,如下所示:

< HTML>< HEAD>< META name = GENERATOR content = \" MSHTML 11.00.9600.17924 \">< / HEAD>< BODY>< FONT face = \" Segoe UI \"> 

<电子邮件正文>

< / FONT>< / BODY>< / HTML>

更多信息:


通过SharePoint 2013中的Visual Studio工作流发送电子邮件


谢谢


最好的问候


I need to send an email using Visual studio workflow in a SharePoint hosted app. Is it possible to send an email with a rich Text in it

See example below,

<b>Hi UserName<b>,
  An item has successfully been submitted.

Regards,
Support Team

Currently the email activity in Visual studio seems to only accepts string.

Is there any other activity that i can install to get a rich text  or are there any examples.

Any help will be very much appreciated

解决方案

Hi,

We can embed html rich text in email body like below:

<HTML><HEAD> <META name=GENERATOR content=\"MSHTML 11.00.9600.17924\"></HEAD><BODY><FONT face=\"Segoe UI\">

<Email Body Here>

</FONT></BODY></HTML>

More information:

Send Email through Visual Studio Workflow in SharePoint 2013

Thanks

Best Regards


这篇关于SharePoint Visual工作流电子邮件活动添加富文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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