Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Autosend email without annoying outlook message
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00740746
Message ID:
00740792
Views:
30
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
>&& then you have to release the object and
>&& re-instantiate to send the next letter
>
>
>
>
>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform