How do I access the document property(such as $messageid) in an imap online setup? when I try to access the document I get a message ‘invalid document’ or something along those lines. I am using Notes 7
Subject: Document handle in Notes IMAP Client
If it’s lotus script you cannot directly access the document field with $. Most of the time I get around it by placing a ~ in front of the dollar sign or you can use GetItemValue Method.
msgId = doc.$messageid(0) ’ This won’t work
msgId = doc.~$messageid(0) ’ Will work or
msgId = doc.GetItemValue(“$messageid”)(0)