Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send an email with attached file during a program
Message
De
30/06/2000 00:22:12
 
 
À
23/06/2000 13:01:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00383873
Message ID:
00386942
Vues:
23
You mention your using NT. A simple solution is to use CDONTS. Here's some sample code we're using:

loEmail = CREATEOBJECT("cdonts.newmail")
loEmail.To = "user@server.com"
loEmail.From = "bryan@kpila.com"
loEmail.AttachFile("c:\test.txt")
loEmail.Body = "Hi, this is a test"
loEmail.Subject = "Test Email"
loEmail.send

Hope this helps!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform