Information générale
Titre:
Automate email recipient with VFP/Word/oDoc.sendmail()
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement