Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Does anyone know how to get the sender of a message using CDO 1.21. I have tried the method suggested on the Microsoft website as follows:

 

VB.NET:

 

Dim objAddress As MAPI.AddressEntry

Dim address As String

 

objAddress = objMessage.Sender ' this line gives error

 

address = objAddress.Name

 

MsgBox("The message address is: " & address)

 

However it gives me a [MAPI_E_NOT_FOUND(8004010F)]] error, but I can access other properties of the message such as its text, date sent, size, subject etc.

 

Cheers!

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...