MeetingItem中的图像问题 [英] Problem with images in an MeetingItem

查看:116
本文介绍了MeetingItem中的图像问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我们需要通过Outlook向多个收件人发送约会/会议。我们从Web服务获取html模板,该模板包含一些图像。但是,AppointmetItem / MeetingItem无法发送html正文。所以我找到了一个
很棒的工具,可以将html转换为rtf。结果是一个字符串,其中包含嵌入的图像"{\ pict \ ...}"元素。然后该字符串将转换为字节数组,以便可以将其添加到RTFBody元素。

we need to send Appointments/Meetings via Outlook to several receipients. We get the html template to use from a web service and that template includes some images. However the AppointmetItem/MeetingItem is not able to send html bodies. So I have found a great tool that converts html to rtf. The result is a string which contains the images as embedded "{\pict\...}" elements. The string then will be converted to a byte array so that it can be added to the RTFBody element.

到目前为止,在约会(在发件人日历中显示)一切都很好看。但会议(发送给收件人)将丢失所有图片!我还从工具中获取了rtf字符串,放入notepad ++并将其保存为.rtf文件。
我能够用文字打开它看起来不错。

So far so good, at the Appointment (shows in the senders calendar) everything looks great. But the meeting (send to the receipients) will lost all the pictures! I have also got the rtf string from the tool, put in notepad++ and saved it as .rtf file. I was able to open it in word and it looks good.

那么我怎样才能获得将包含图像的会议项目发送给收件人的展望?如何预约呢?

So how can I get outlook to send the meeting item with the included images to the reciepeients? And how will it be ok in the appointment iten?

推荐答案

Hello Michael,

Hello Michael,

您可以使用Word对象模型处理项目主体,以便粘贴HTML标记。请参阅

第17章:使用项目主体
以获取更多信息。

You can use the Word object model for dealing with item bodies, so you can paste the HTML markup. See Chapter 17: Working with Item Bodies for more information.

最近的Outlook版本(2013?,2016)允许使用低级属性将HTML标记设置为消息 正文 - PR_HTML(DASL名称为" http://schemas.microsoft.com/mapi/proptag/0x10130102 ")。

Recent Outlook versions (2013?,2016) allow to set a HTML markup as the message body by using a low-level property - PR_HTML (DASL name is "http://schemas.microsoft.com/mapi/proptag/0x10130102").


这篇关于MeetingItem中的图像问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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