What exacly the problem is? Do you get any errors?
>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 .
>
>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
--sb--