PR_SENDER_ADDRTYPE >> NOT_FOUND

  • Thread starter Thread starter klwemu
  • Start date Start date
K

klwemu

Hello!

When I access with VBA (MAPI) to Outlook, and use ...

Debug.Print message.Fields(&H40001E) ' PR_RECEIVED_BY_NAME
or
Debug.Print message.Fields(&H3F0102) ' PR_RECEIVED_BY_ENTRYID
or
Debug.Print message.Fields(&H75001E) ' PR_SENDER_ADDRTYPE

all works fine and I can receive the values! But is Exchange used
instead of Outlook, I will get ERR_E_NOT_FOUND
But OutlookSpy shows the fields in Exchange too, and i.e. PR_SUBJECT
works! Why can i not access to PR_SENDER_ADDRTYPE???

Any ideas?
Regards
 
PR_SENDER_ADDRTYPE = &HC1E001E (0x0C1E001E).

Where did you get that other property tag value? That should be for
PR_RECEIVED_BY_ADDRTYPE.
 
PR_SENDER_ADDRTYPE = &HC1E001E (0x0C1E001E).

Where did you get that other property tag value? That should be for
PR_RECEIVED_BY_ADDRTYPE.

Sorry - i copied "PR_SENDER_ADDRTYPE" false in the posting. :-(

I cant acces to ...
PR_RECEIVED_BY_EMAIL_ADDRESS
PR_RECEIVED_BY_NAME
PR_RECEIVED_BY_ENTRYID
 
Are these actually emails that have been received and not some that were
sent out or unsent items?

I can get those properties in a received email whether I'm using an Exchange
profile with a mailbox or a PST file profile.

You mentioned using MAPI, did you mean using CDO 1.21? Can you show the VBA
code you're using and reveal the Outlook version you're using?
 
Are these actually emails that have been received and not some that were
sent out or unsent items?

I can get those properties in a received email whether I'm using an Exchange
profile with a mailbox or a PST file profile.

You mentioned using MAPI, did you mean using CDO 1.21? Can you show the VBA
code you're using and reveal the Outlook version you're using?




<snip>

I think is is not a coding problem, because on one of my system
(WinXP, OL 2K-SP1) it works fine. But on a Win2K OL 2K with Exchange
it does not work.
maybe is the reason in the securety update?

I access the mail with mapi only! No Cdo!

Can you post some simple code snip?
 
How are you using VBA code to work with Extended MAPI?

If you are using Extended MAPI there is no security as there is with CDO
1.21 or the Outlook object model.
 
Back
Top