Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send an email with attached file during a program
Message
From
30/06/2000 00:22:12
 
 
To
23/06/2000 13:01:21
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00383873
Message ID:
00386942
Views:
27
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!
Previous
Reply
Map
View

Click here to load this message in the networking platform