Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/298.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
c#为outlook html邮件提供突出显示的文本_C#_Html_Outlook_Office Interop - Fatal编程技术网

c#为outlook html邮件提供突出显示的文本

c#为outlook html邮件提供突出显示的文本,c#,html,outlook,office-interop,C#,Html,Outlook,Office Interop,我向outlook提供以下HTML文本: <span style="background-color:yellow;">test</span> 但是,在Outlook中,我无法删除突出显示 如何格式化HTML,以便Outlook将其识别为“突出显示”文本 尝试将跨度更改为: <span style='background:yellow;mso-highlight:yellow'> 看起来微软有一些特殊的属性。太好了!谢谢你的回复! <span

我向outlook提供以下HTML文本:

<span style="background-color:yellow;">test</span>
但是,在Outlook中,我无法删除突出显示

如何格式化HTML,以便Outlook将其识别为“突出显示”文本


尝试将跨度更改为:

<span style='background:yellow;mso-highlight:yellow'>


看起来微软有一些特殊的属性。

太好了!谢谢你的回复!
<span style='background:yellow;mso-highlight:yellow'>