Hi,
I have exactly the same issue as Isabelle R (http://tinyurl.com/3xepen4):
-
get the doc by view.getfirstdoc
-
get the item by doc.getfirstitem
-
item.getmimeentity is null despite in the notes client properties, I can see MIME_Part as type of the item.
I noticed that the type of the item in the debugger is 1 (NotesRichTextItem) should be 25 (MIME_Part).
I tried Isabelle’s solution with no luck.
Here is the modified code which don’t work.
vTmp = CStr(oDoc.Universalid )
dim oDoc as NotesDocument
dim oPageBody as NotesRichTextItem (or NotesItem)
dim oBody as NotesMIMEEntity
Set oDoc = nothing
Set oDoc = oDb.Getdocumentbyunid(vTmp)
Set oPageBody = oTmpDoc.GetFirstItem(“PageBody”)
Set oBody = oPageBody.GetMIMEEntity
The original code simply didn’t killed oDoc but processed oDoc directly instead. It makes no difference.
Isabelle, if you happen to read this, did you find something else ?
Anybody else got an idea on the reason ?
More important anybody has a solution ?