Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automate email recipient with VFP/Word/oDoc.sendmail()
Message
From
15/04/2003 12:39:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Automate email recipient with VFP/Word/oDoc.sendmail()
Miscellaneous
Thread ID:
00777857
Message ID:
00777857
Views:
66
I'm creating a VFP app to generate invoices in Word and automatically email them to the customer. I am using 'Microsoft Office Automation with 'Visual Foxpro' as a guide. I would prefer to create the document in Word and then use SendMail to email it directly, instead of saving the document, starting Outlook, and emailing from there.

I can't figure out how to specify the recipients email address. I'm using the following couple of lines to initiate the email.

oWord.Options.SendMailAttach = True
oDoc.SendMail()

Any help would be greatly appreceiated.

Larry Morelli
(248) 640-7114
Next
Reply
Map
View

Click here to load this message in the networking platform