Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CDO for retreiving e-mail
Message
 
To
27/10/2003 15:14:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00843042
Message ID:
00843240
Views:
24
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform