奇怪的行为 - 不了解设计和测试Cutom Outlook(2010)表格 [英] Weird behavior - not understanding Designing and testing Cutom Outlook (2010) Form

查看:67
本文介绍了奇怪的行为 - 不了解设计和测试Cutom Outlook(2010)表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个自定义表单,它从输入文本框中收集数据,创建一个csv并将其附加到此表单。然后你可以发送它。



在开发者模式下,你可以选择"运行这个表格"。因此,您可以进行测试并使其正常运行。

将电子邮件发送到指定的帐户和附加的csv文件。 (感谢所有帮助解决此问题的人)。在收件箱中,邮件的类型为"邮件"。 (你可以通过图标告诉)

I've created a custom form, which gathers data from the input text boxes, creates a csv and attaches it to this form. Then you can send it.

While in Developer mode, you can choose "Run this Form" so you can test and it functions as it should.
A email is sent to the account specified and the attached csv file. (thanks to all who help with some of this).In the inbox, the message is type "Message". (you can tell by the icon)

但是如果我发布最终形式(到个人图书馆)并从个人图书馆发布Outlook形式,请填写字段..等等。并发送它,它不是电子邮件类型。这是  a"发布"..(带蓝色按钮的黄页图标
pin)....
$


为什么世界上这样做呢?无论我在哪里发布表单,它似乎都会发生。 

But if I publish the finalized form (to personal library) and from outlook load that form from the personal library, fill in fields..etc  and send it, it's not a email message type. it's  a "Post".. ( yellow page icon with a blue push pin)....

why in the world is this doing this? It seem to occur regardless of where I publish the form. 

原因:这会直接影响子Item_Open()事件,因为它可以作为一个消息,但作为一个帖子,而不是。

Reason: this directly effects the sub Item_Open() event, as a message this works but as a post, not.

推荐答案

您好,

这是预期的结果。该项目仍然是MailItem。消息类将是IPM.Note.CustomName。您可以获取该项目并使用Watch窗口检查其属性。

This is expected result. The item would still be a MailItem. The message class would be IPM.Note.CustomName. You could get the item and use Watch windows to check its properties.

我认为Outlook正在使用该图标来识别它是内置类还是自定义类。  

I think Outlook is using the icon to identify it is built-in class or custom class.  

问候,

Celeste


这篇关于奇怪的行为 - 不了解设计和测试Cutom Outlook(2010)表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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