>>Hi Mike.
>>
>>
We have a need to send emails from a VFP 9 application. I understand Outlook automation is one option and got some hits in Google for ActiveX controls, freeware, shareware, etc. Any suggestions for a good way to go?>>
>>CDO - it comes with the OS so it is free. It soes not suffer from the Draconian security patch from h*ll like Outlook automation and MAPI do. And if you have MegaFox, you already have a class that implements it.
>
>
>Thanks for the tips (to all who have replied). I have been working with Blat and Outlook automation to start with. Blat emits an error 2, which I suspect was caused by me having some of the SMTP settings set up wrong. Am waiting for verification from the network administrator (which is sometimes like waiting for Godot). Outlook automation works fine except the sender -- which is me during testing -- gets a dialog from Outlook 2003 warning that a program is trying to send an email using my email address. This dialog pops up EVERY TIME so I need to get around it. Have poked around in Outlook options without anything jumping out at me yet as far as how to suppress it. (What is the Draconian security patch from hell? I wonder if that might have something to do with it).
>
>If neither of these pans within the desired timeframe of "right away" ;-( I will try CDO or one of the other suggestions.
You should certainly find the option to suppress Outlook security dialog. I did it few times, unfortunately I don't have Outlook on hands now, but it was something simple.
Edward Pikman
Independent Consultant