Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using VFP 6 with Outlook
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Using VFP 6 with Outlook
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01009195
Message ID:
01009195
Views:
63
This is a sample code piece we are using to send email to Outlook from VFP 6.
How do we add information about the font, the size and color for loEmailItem.Body (next to last line, below)

loApp = CREATEOBJECT("Outlook.application")
loEmailItem = loApp.CreateItem(0) && MAILITEM
loEmailItem.Recipients.Add(ThisForm.cURL) &&Uses the Recipients colleection
loEmailItem.Subject = This.Parent.Txtsubject.Value
loEmailItem.Importance = 1 && IMPORTANCENORMAL
loEmailItem.Body = This.Parent.EdtNotes.Value
loEmailItem.Send
Glenn
Next
Reply
Map
View

Click here to load this message in the networking platform