Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using your EMAIL.PRG program
Message
De
21/07/1997 07:27:40
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00040726
Message ID:
00040877
Vues:
25
>Hi Matt
>I downloaded the email.prg program, and i find it very easy and straightforward to use, therefore extremely useful.
>I am running the SendInternetMail function from my application ( a distributed EXE file ), and i run into a class definition error. Since i know you're using the MSMAPI32 DLL, and not the OCX files ( as specified in your readme ), i guess i should declare something in the beginning of the EMAIL file, or of my app., but i just don't know what.
>Could you help me with this please? Thanks in advance.
>
>Jaime

Hi Jaime,

Well, the lesson I've learned is a moral I preach...never assume.

When I built this procedure file, I was assuming that I was using MSMAPI32, based on what, I'm no longer sure. It turns out, after some thought provoking dialougue with others here, that EMAIL.PRG uses MAPI 1.0. MAPI 1.0, according to my understanding, is loaded with MS Exchange Client and is also available via MS's Software Development Kit. Therefore, if MS Exchange Client is loaded (it is on all the clients I've been using), you never have to worry about file registration (it's magic! duh). So in the words of Homer Simpson....DOH!

So what to do? Well, MSMAPI32 has many simlar controls, but I don't believe that the OCX is instatiated properly using CREATEOBJECT. I believe that some of the controls are not created unless the object is a member of a form. I could be wrong, I've been wrong before.

Soon, within the next 2 weeks, I'll write an update to the readme file, but in the meantime, anyone not using MS Exchange that doesn't wish to purchase SDK, EMAIL.PRG can be modified to perform the same function. Please refer to KB article Q136638.... http://www.microsoft.com/kb/articles/q136/6/38.html

I apologize for any confusion I've created and I'd appreciate any feedback.

Matt
Matt McDonnell
...building a better mousetrap with moldy cheese...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform