Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows service using SMTP ActiveX in prg
Message
De
19/02/2002 12:52:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00622030
Message ID:
00622048
Vues:
23
Allan,

The following should work for you:
osmtp = createobject("Mabry.SmtpX")
You can create an instance of the activeX control with osmtp = createobject("Mabry.SmtpXCtl"), but I would try the above first...

>I have to build a windows service app - the service will run all the time and will "do it's thing" once a day at a specified time - one of the things this service will be doing is generating e-mails if certain conditions are true.
>
>I've used Mabry's SMTP control in their MailX product extensively - but always in forms (i.e. I dropped the control on the form).
>
>What is the best way to have the functionality of this control in this windows service I'm building (i.e. - there is no UI)? Can I even include the functionality of this ActiveX control from a prg?
>
>Thanks in advance,
>
>Al
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform