Inge,
SPS, Craig Boyd has a few "Email and VFP" solutions (a through h) also:
http://www.sweetpotatosoftware.com/SPSBlog/CategoryView,category,Visual%2BFoxpro.aspxhttp://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,bfd1bcb7-092b-416d-8c29-8c6b20d0a000.aspx>I guess I don't really need to use Outlook. I just need to send auto email notification as a button is pressed (simplest way). I looked up CDO & found the codes, but I don't know how to check whether I have the requirements to use it, such as:
>** How to check whether I have network or local access to an SMTP or NNTP service? We have an email server & most of the workstations are XPs.
>** I need CdoSys.dll & ADO 2.5 installed?
> *Where can I find CdoSys.dll and ADO 2.5
> *How to install CdoSys.dll and ADO 2.5
> *Where do I install these to? Workstations or the server where my .exe resides?
> *How do I check whether I have these correctly installed?
>Thank you much!!
>
>
>
>>
What is the simplest way to send an email programatically (outlook)? (something that does not require messing with installation of components / messing with the server).>>
>>If yo have your heart set on using Outlook, you may find it helpful to download the white paper and code sample from my conference session entitled "Office Auomation With VFP". You will find it on the tools and utilities page of my web site. If you use Outlook, you will need to find a way around the Draconion Security Patch from H*ll - you can find one here:
http://www.contextmagic.com/express-clickyes/.
>>
>>A better alternative would be to use CDO. With CDO you do not need to work-around the security patch.