Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending email from a VFP application
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01219785
Message ID:
01219919
Views:
23
>>>>>>Hi Mike.
>>>>>>
>>>>>>We have a need to send emails from a VFP 9 application. I understand Outlook automation is one option and got some hits in Google for ActiveX controls, freeware, shareware, etc. Any suggestions for a good way to go?
>>>>>>
>>>>>>CDO - it comes with the OS so it is free. It soes not suffer from the Draconian security patch from h*ll like Outlook automation and MAPI do. And if you have MegaFox, you already have a class that implements it.
>>>>>
>>>>>
>>>>>Thanks for the tips (to all who have replied). I have been working with Blat and Outlook automation to start with. Blat emits an error 2, which I suspect was caused by me having some of the SMTP settings set up wrong. Am waiting for verification from the network administrator (which is sometimes like waiting for Godot). Outlook automation works fine except the sender -- which is me during testing -- gets a dialog from Outlook 2003 warning that a program is trying to send an email using my email address. This dialog pops up EVERY TIME so I need to get around it. Have poked around in Outlook options without anything jumping out at me yet as far as how to suppress it. (What is the Draconian security patch from hell? I wonder if that might have something to do with it).
>>>>>
>>>>>If neither of these pans within the desired timeframe of "right away" ;-( I will try CDO or one of the other suggestions.
>>>>
>>>>You should certainly find the option to suppress Outlook security dialog. I did it few times, unfortunately I don't have Outlook on hands now, but it was something simple.
>>>
>>>ClickYes or Redemption or http://tek-tips.com/viewthread.cfm?qid=1356204&page=1
>>>
>>>Mike, it looks like you haven't been reading VFP forum here at all <g>
>>
>>
>>Sure I have <g>. In fact I just got done playing around with ClickYes for the past hour or so after receiving your earlier reply. The free version does not work for our purposes, which is for an email to be sent in a seamless way without the user having to interact with Outlook every time the program sends an email. The full version (about $30 per user) does work but may not be appopriate for us. I don't know yet how many users will potentially use this feature in our app, so cost may become a factor. The other factor is security. We process credit card transactions, including electronic transfer of money, so as you might imagine there are lots of security restrictions. ClickYes basically works by disabling access protection to the Outlook address book. I have a feeling that may not be compliant with the new standards Visa and MasterCard are requiring of transaction processors. Will need to talk to some people to find out more before we are in a position to decide on
>ClickYes.
>
>I guess you didn't try the other suggestion http://www.mapilab.com/outlook/security/ Though I didn't try it myself.


Actually I just got done doing that. And I prefer that product (Advanced Security for Outlook) over ClickYes. It's free, for one thing. It's also more granular. The first time you send an email from a VFP app it pops up a dialog asking if you want to give VFP access to the Outlook address book. If you say yes and click the option to always give that reply, you don't see any more dialogs. To me that's a lot better than what ClickYes seems to do, which is open the address book up to any requestor. Maybe you can get around that with manual settings but I didn't poke around long enough to find them.

We may still have PCI compliance issues but at least I have a solution that works seamlessly with only minor setup hassle.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform