Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想访问 Lotus Notes 中特定邮件的附件。我正在使用 $File 获取附件名称。
但我想提取此附件并希望将其保存在用户指定的路径中。使用 C#。
它应该类似于下面的内容,但不确定我是否有正确的 c# 语法。
NotesRichTextItem rtitem = doc.GetFirstItem("name") if ( rtitem.Type = 1) { foreach (NotesEmbeddedObject o in rtitem.EmbeddedObjects) { if ( o.Type = 1454 ) { o.ExtractFile( "c:\samples\" & o.Source ) } } }