Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending mail automatically
Message
 
 
À
31/03/2005 04:46:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01000205
Message ID:
01000218
Vues:
20
You can use CDO (which requires cdosys.dll - installed by default on XP- and an SMTP service running on the computer)
oMSG = CREATEOBJECT('cdo.message')
oMSG.To = 'me@nowhere.com'
oMSG.From = 'me'
oMSG.Subject = 'Hello Email'
oMSG.TextBody = 'This is an easy way to create an email'
oMSG.Send()
>Hi,
>Does anyone know what the best way to send mail automatically is?
>I think I can use SendMail but that means that I have to have outlook installed and the mail will get sent from the account of the logged in user running the app.
>Otherwise I am wondering if there's a way of using CDONTS as Vis Fox is packaged with .net?
>
>Any advise apreciated.
>
>David.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform