Many thanks for your prompt reply - one hopefully quick further
followup
I now wish to extract e-mail addresses (type and value). I assume
that I need to use the Fields member but can't work out what prop tag
to use.
Phil.
> Use objFolder.Items instead of objFolder.Messages
>
[quoted text clipped - 13 lines]
> > Dim utils As Redemption.MAPIUtils
> > Dim objFolder As Redemption.MAPIFolder
> > Set objSession = New MAPI.Session
> > objSession.Logon , , , , , , "Server" & vbLf & "Mailbox"
[quoted text clipped - 13 lines]
> >
> > Any ideas what I am doing wrong?
Dmitry Streblechenko \(MVP\) - 20 Aug 2004 19:48 GMT
Look at the message using OutlookSpy (click IMessage button). Select the
property that you are after and note the GUID and id.
You can then call MessageItem.GetIDsFromNames() passing the GUId and id,
"or" the returned tag with the correct prop type (e.g. PT_STRING8 = 0x1E).
After that you can use it in MessageItem.Fields(). See
http://www.dimastr.com/redemption/utils.htm#xmapi and scroll to "Named
Properties".
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> Many thanks for your prompt reply - one hopefully quick further
> followup
[quoted text clipped - 40 lines]
> > >
> > > Any ideas what I am doing wrong?