Hi Tracy,
So far, I've found the following from the MSDN site (converted from code found there):
loSession = CREATEOBJECT("MAPI.Session")
loSession.Logon("Arriyel Cabansag", .F.)
loInbox = loSession.Inbox
loInMess = loInbox.Messages
loEMail = loInMess.GetLast()
MESSAGEBOX("The message text: " + loMessage.Text, 0+64+0, "CDO.MAPI Test")
I found it under the CDO library reference.
Thanks,
Arriyel
>Sorry, but I believe that cdo can only be used to send email. More clarification: I just did some more research and it appears that cdo was intended for sending email only.
>
>>Hi Tracy,
>>
>>Thanks for replying. I've seen that thread. I actually used it for our own SMTP send class for sending e-mails.
>>
>>What I'm looking for is samples (hopefully) that will show how to read/retreive e-mail messages using CDO.
>>
>>Thanks,
>>Arriyel
>>
>>>See
CDO Email with VFP Thread #
749445 Message #
749445>>>
>>>>Hi,
>>>>
>>>>Is there a way for me to retreive/read e-mail using CDO? Any help is greatly appreciated.
>>>>
>>>>TIA,
>>>>Arriyel
Speak using soft and sweet words in case you have to eat them later.