Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MAPI problem on WIN ME
Message
De
04/11/2002 13:44:40
 
 
À
03/11/2002 07:11:43
Agnes Cheng
DynamicTech Consultants Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00718271
Message ID:
00718605
Vues:
37
>I got a old version program which runs fine on Window 98 . However, as i change the OS into Window ME. it can't use the MSMAPI object.
>Please Help. I read the posted message and try "mampmail" from nbcsoftware. But I still got the same problem .
>

Agnes, the problem you're encountering is not with the OS per se, but with the mail client installed on the machine. A MAPI-compliant email application must be installed and configured on the system in order to be able to use MAPI to send or receive mail; for example, OE is a MAPI-compliant client, but if you haven't set it up AFA its connection and POP3/SMTP servers, it isn't able to do anything to service your MAPI request. Please check what, if any, mail client is both installed and configured on the target system; if you find that there isn't one, or that the one that is installed doesn't support MAPI (such as Lotus Notes) you'll need to install and configure a client to use MAPI.

>The following is my code:-
> oform = CreateObject("form")
> oform.addobject("Session1","olecontrol","MSMAPI.mapiSession")
> oform.addobject("Message1","olecontrol","MSMAPI.mapiMessages")
> oform.Session1.signon
> oform.Message1.sessionid = oform.Session1.sessionid
> oform.Message1.compose
> oform.Message1.msgsubject = pSubject
> oform.Message1.msgnotetext = pMsg
> oform.Message1.RecipDisplayName = pTo
> oform.Message1.send(0)
> oform.Session1.signoff
> release oform
>
>Pls Help
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform