Hi,
I am want to access attachment of particular mail in Lotus Notes. I am getting Attachment name with $File.
But i want to extract this attachments and want to save it in user specified path.Using C#.
Hi,
I am want to access attachment of particular mail in Lotus Notes. I am getting Attachment name with $File.
But i want to extract this attachments and want to save it in user specified path.Using C#.
It should be something similar to below, not sure if I have the correct sintax for c# though.
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 )
}
}
}