Mark
Doesn't CDONTS work only for Win2k? I think it won't work on Win98...
Jaime
>I've had very good results using CDO (CDONTS). Makes it easy to spoof your CEO's email address as the sender, by the way.
> To send HTML mail:
>
>myMail=CreateObject("CDONTS.NewMail")
>myMail.To="somebody@somewhere.com"
>myMail.From = "me@somewhere.com"
>myMail.Subject = "blah blah"
>cMailBody="<H1>...blah blah VFP code</H1>"
>myMail.BodyFormat = 0
>myMail.MailFormat = 0
>myMail.Body =cMailBody
>myMail.Send
>
>
>
>
>
>
>>I am trying to setup a program to autosend email based upon event messages on my server. However, any automation to Outlook/MAPI I've tried kicks up the annoying message stating a potentially hostile program is trying to send a message and wants me to press "yes" - a far cry from automatic!
>>
>>Does anyone have a simple workaround to this that doesn't involve an expensive add-on control?
>>
>>Thanks in advance.
Why do programs stop working correctly as soon as you leave the Fox?