Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Autosend email without annoying outlook message
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00740746
Message ID:
00740792
Vues:
31
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform