Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and Email
Message
From
19/01/2001 13:51:16
 
 
To
18/01/2001 21:49:28
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00465540
Message ID:
00465904
Views:
13
>Is there a way to send a VFP report as an email in as fewest step as possible?
>
>Thanks.

The following is from msdn about using cdonts.

myMail = CreateObject("CDONTS.NewMail")
myMail.From "Example@microsoft.com"
myMail.To "Someone@microsoft.com"
myMail.Subject "Sample Message"
myMail.Body = "This is a sample message."
myMail.AttachFile "c:\your_report.frx"
myMail.Send()
Jake
Wine is sunlight, held together by water - Galileo Galilei
Un jour sans vin est comme un jour sans soleil - Louis Pasteur
Water separates the people of the world; wine unites them - anonymous
Wine is the most civilized thing in the world - Ernest Hemingway
Wine makes daily living easier, less hurried, with fewer tensions and more tolerance - Benjamin Franklin
Previous
Reply
Map
View

Click here to load this message in the networking platform