Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send Fax by VFP
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00832948
Message ID:
00842691
Views:
19
---------
Is it an error related to the MAPI session?
----------

Well, that would depend on which line of the sample gives you the error exactly <s>. Is it when you create the object or when you try to do the log in or when?

Tell me more about your environment, OS and what messaging clients are installed. As I said before you need "an available login for a messaging client, such as Outlook, that understands faxing with a MAPI-compliant fax service appropriately set up in the e-mail client."

That means you need a couple of different factors in your environment do get this to work:

* an available login

* a messaging client that is MAPI-compliant

* a fax service installed for the appropriate MAPI-compliant messaging client.

... right now I don't know which part(s) you're missing or which parts might be in a version with a different model than I supplied in my sample code <s>.


In general MAPI is available by default if you have Outlook installed, usually, but that still won't tell me which version of MAPI you have available. Plus, I don't even know what version of Outlook you have installed at this point. Plus, you may not be able to use the .Outbox syntax ...

In other versions of Outlook, for example, the following syntax works better:

oApp = CREATEOBJECT("Outlook.Application")
oMapi = oApp.GetNamespace("MAPI")

... now you can access the oMapi.Folders collection.

This looks superficially different than what I showed earlier, but it's just a different API for the same capabilities, introduced at a different time.

So, you see, I'm not sure right now which part is causing your error...

>L<
Previous
Reply
Map
View

Click here to load this message in the networking platform