【问题标题】:RadEditor Control sends tech jargon with emailsRadEditor Control 通过电子邮件发送技术术语
【发布时间】:2018-08-23 01:46:21
【问题描述】:

我在 ASP.NET Web 应用程序中使用 RadEditor 控件。它主要用于电子邮件正文。用户通常将 MS Word 中的内容复制并粘贴到此控件,并通过此应用程序发送电子邮件。用户正在使用 Chrome Book 中的 Chrome 浏览器。但用户现在抱怨一个问题。当用户发送电子邮件时,收件人会收到如下一些技术术语以及电子邮件内容。

<qowt-page named-flow="FLOW-1" style="display: -webkit-box; -webkit-box-orient: vertical; -webkit-box-align: stretch; -webkit-box-pack: justify; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; box-shadow: #d1d1d1 0px 0px 0px 1px, #cccccc 0px 0px 4px 1px; overflow: hidden; margin: auto auto 5mm; position: relative; color: #000000; font-family: Calibri, sans-serif; font-size: 16px; width: 595.3pt; height: 841.9pt; cursor: text !important;"> 

我不知道他们收到的这些垃圾是什么。我试图在 Windows 机器的 IE 和 Google Chrome 浏览器中模拟这个问题,但无法模拟它。只有在 Chrome book 中使用 Google Chrome 的用户才会遇到此问题。电子邮件是通过 Chrome 书发送的。

我已经尝试了以下代码,但没有结果。 txtContent 在这里是 RadControl。

txtContent.StripFormattingOptions = EditorStripFormattingOptions.MSWordNoMargins | EditorStripFormattingOptions.ConvertWordLists;

txtContent.DisableFilter(Telerik.Web.UI.EditorFilters.ConvertToXhtml);  

我尝试在 Chrome 浏览器中启用和禁用 Brotli-Content 编码,但无法模拟它。

【问题讨论】:

标签: telerik


【解决方案1】:

使用txtContent.Content 获取发送电子邮件,而无需在电子邮件正文中发送行话。

【讨论】:

    【解决方案2】:
    猜你喜欢
    • 1970-01-01
    • 2014-05-18
    • 1970-01-01
    • 1970-01-01
    • 2020-04-06
    • 2011-02-02
    • 2011-07-25
    • 2021-10-04
    • 1970-01-01
    相关资源
    最近更新 更多