Lotus Notes 中的邮件被截断
我正在使用 Interop.Domino dll 阅读邮件,但在少数情况下,我的程序因特定邮件而挂起,在查看文档属性后,我发现邮件被截断,因为上面出现蓝色撕裂页面符号,并且大小属性为(40K +truncated) ,那么是否还有其他属性可以让我以编程方式识别其被截断的邮件。 我还尝试以编程方式访问大小属性,但随后程序自行挂起。
任何帮助表示感谢,提前致谢
问候, 哈西娜。
I am reading mails using Interop.Domino dll but in few cases my program hangs for a particular mail, after going through the document properties i found that the mail is truncated as a blue torn page symbol appear on it and the size property is (40K +truncated) , so is there any other property through which i can programmatically identify its a truncated mail.
I also tried accessing the size property programmatically but then the program hangs their itself.
Any help Appreciated, thanks in advance
Regards,
Haseena.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要利用 Notes 公式而不是脚本来获得答案。使用 NotesSession.Evaluate 方法调用以下 Notes @formula 之一:
如果被截断,@IsDocTruncated 公式将返回 1,否则返回 0。
@DocOmitLength 公式将返回已省略的大致字节数。
You'll need to leverage Notes formulas instead of script to get your answer. Use the NotesSession.Evaluate method to call one of the following Notes @formulas:
The @IsDocTruncated formula will return 1 if it is truncated and 0 if not.
The @DocOmittedLength formula will return the approximate number of bytes that have been omitted.