- When will hasitem(“body”) returns null ? All email should have a body ?2) Why does doc.getItemValue(“body”) sometimes gives ‘Property let procedure not defined and property get procedure did not return an object’
It gives ‘Object does not support method’ when i use
set vartype = doc.getItemValue(“body”)
session.convertMIME=true
for i = 1 to maxcount
Dim vartype As Variant
doc.GetItemValue (“Body”)
If doc.HasItem(“Body”) Then
Set itemBody = doc.GetFirstItem("Body")
next