Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Accessing Message.Text giving MAPI_E_NOT_FOUND


Message #1 by "Amitabha Sarkar" <asarkar@a...> on Mon, 22 Apr 2002 15:49:00
Hi 

If anybody can tell me what could be the problem. I am getting this error 
for few mail not for all mails, whether I am able to read the subject of 
the mails. I am using exchange server. Following are the code I am using 
and I am getting error on objMsg.Text.


objSession.Logon "", "", False, True, 0, True, strExhProfile
      
Set objinbox = objSession.Inbox
Set objMsgColl = objinbox.Messages

 
For Each objMsg In objMsgColl
    intFld = objMsg.Fields.Count
    debug.print "Message - " & objMsg.Text
Next

Regards.
Amitabh

  Return to Index