Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Universally Accessing Email from within VFP
Message
 
To
04/05/2005 13:20:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01010895
Message ID:
01010908
Views:
24
For CDO or CDONTS, I test for OS since they're OS dependent. I guess you could check for SMTP Server before that and if not go on to one of the other types of e-mail(non-smtp) or vice versa...
>Anatoliy Mogylevets wrote an excellent article for the April 2005 issue of Foxtalk 2.0. Thanks Anatoliy!
>
>(All of the articles were excellent in that issue by the way - Foxtalk2.0 has turned out to be a great reference - especially since VFP9 was released)
>
>I have code for sending mail using CDO (W2k and above), Outlook via automation, sending via the default mail client (thanks to Rick Strahl's website), and now to via Hotmail and MSN using Outlook Express (thanks to Anatoliy). Has anyone written a function to determine the email mail service on the workstation so the appropriate method could be implemented? Ideally, it would not only send mail but allow the viewing of the mail folders as well (which I have for Outlook only but also Outlook express from Anatoliy's article).
>
>Each method can be implemented now I know, but how to determine which is the correct method to use? Does the user have outlook express and hotmail only or do they have corporate outlook 2002 email, or what? That is what needs to be determined via code if possible...
Previous
Reply
Map
View

Click here to load this message in the networking platform