Thanks Sergey.
John
>It depends on what are you want to do. For basic email MAPI is adequate. If you want to work with outlook folders or use HTML/RTF as body of the email than you have to use CDO. Take look also at file#
9662 'Outlook Mail (sequel to MAPI Mail)'.
>
>>The examples create mapi sessions. I am sending emails from my app by creating Outlook objects. What is the difference and is there a preferable way to do it? Am I assuming the existance of Outlook and the mapi session way does not?
>>
>>Thanks
>>
>>John
>>
>>>>I am trying to programmatically send email using VFP 5.0. It was working fine until Outlook 2000 required you to connect using Idispatch to use CDO. I have not been able to find any Foxpro sample code on it.
>>>>
>>>>Any help would be great.
>>>
>>>See mskb#
Q175052 and mskb#
Q231574.