i was following advice dd oct23,2000 - see below and i must say that your codes work with eudora under winxp. when i tried the codes with outlook express under win98, i got an "0x800401f3 invalid class string" error.
is there anything that can done to make it work under win98? ta
*******************************************
ChrisRChamberlain (Programmer) Oct 23, 2000
The following code from a command button should enable a user to e-mail directly through MS Outlook Express.
It requires the user to actually send the message from Outlook Express.
Any alternatives that don't require user intervention?
*--
oform = CREATEOBJECT([FORM])
WITH oform
.AddObject([Session1],[oleControl],[MSMAPI.mapiSession])
.AddObject([Message1],[oleControl],[MSMAPI.mapiMessages])
.Session1.Signon
.Message1.sessionid = oform.Session1.sessionid
.Message1.Compose
.Message1.RecipDisplayName = [support@lithoplas.com]
.Message1.AttachmentPathname = [C:\autoexec.bat]
.Message1.msgSubject = [Program error]
.Message1.msgNoteText = [This is a test]
.Message1.Send(1) && Incorrect parameter?
.Session1.Signoff
ENDWITH
RELEASE oform
*--
TIA
Chris
is there anything that can done to make it work under win98? ta
*******************************************
ChrisRChamberlain (Programmer) Oct 23, 2000
The following code from a command button should enable a user to e-mail directly through MS Outlook Express.
It requires the user to actually send the message from Outlook Express.
Any alternatives that don't require user intervention?
*--
oform = CREATEOBJECT([FORM])
WITH oform
.AddObject([Session1],[oleControl],[MSMAPI.mapiSession])
.AddObject([Message1],[oleControl],[MSMAPI.mapiMessages])
.Session1.Signon
.Message1.sessionid = oform.Session1.sessionid
.Message1.Compose
.Message1.RecipDisplayName = [support@lithoplas.com]
.Message1.AttachmentPathname = [C:\autoexec.bat]
.Message1.msgSubject = [Program error]
.Message1.msgNoteText = [This is a test]
.Message1.Send(1) && Incorrect parameter?
.Session1.Signoff
ENDWITH
RELEASE oform
*--
TIA
Chris