【发布时间】:2013-04-03 07:45:19
【问题描述】:
合并两个EmailMessage的正确方法是什么。我尝试了以下操作:
mergedMessage.Body.Text = message1.Body.Text + message2.Body.Text
但是它在合并的消息中创建了两个html标签,这是不正确的。
我应该解析message1.Body.Text和message2.Body.Text并获取html的内容并复制到mergedMessage吗?
【问题讨论】:
-
Should I parse the message1.Body.Text and message2.Body.Text and fetch the content of html and copy to the mergedMessage?是的。
标签: c# email system.net.mail