I need to create an application where I send mail to a person and an address stored in a database - does anybody have an idea where I might get information from on how to do this.
I'd start by entering "email vfp" in the search window on the KEYWORD SEARCH tab, and check the ALL WORDS, THIS FORUM, FAQ, and LAST 6 MONTHS checkboxes.
Most of the posts show how to automate Outlook, but there are a few others that show other ways of sending email.
I myself use Outlook 2000 to send reports to clients from within VFP automatically, but there's a BIG gotcha - the latest security patch from Billy pops up a dialog box notifying you that a program is attempting to send email. You have to click twice to confirm before your email will be sent. I got around that by not installing the security patch. Others use a third party product called Outlook Redemption that you can read about here. Still others abandoned Outlook in favor of other methods.
From the little I know, there is a Microsoft Control in the
Tools->Options->Controls (Tab)-> ActiveX Controls and look for and check the Microsoft MAPI Messages Controls.
This control can allow you to send out an email using your existing Mail Client. Your Default Mail Client.
Just go to the FAQ area here and press Ctrl+F, and search for "email" on that page.
You'll find there are many ways to send email:
1) Directly Speak SMTP to the mail server.
2) Use a component (ActiveX/DLL) which understands SMTP
3) Automate an Email program through MAPI
4) Automate Outlook directly through Ole Automation.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.