>>I use Windows 98 with Outlook Express and Microsoft Exchange.
>>
>>In OE Tools/Options "Make Outlook Express my default Simple MAPI client" is not selected because I want to send faxes with Exchange from Word.
>>
>>I try to initialize OE MAPI session using the following program:
>>
>>oleMAPISession = createobject( "MSMAPI.MAPISession.1" )
>>if isnull( oleMAPISession )
>> return
>> endif
>>
>>with oleMAPISession
>> .UserName = 'User'
>> .Password = ''
>> .Signon()
>>
>>This produces an message Incorrect profile and produces Exchange profile dialog and fails. If OE is default MAPI client, this works.
>>How I can send e-mail with OE if it is not default mapi client?
>
>Must you use OE to send the email?
>If not you can MS Winsock control and send the email directly to mail server.
Point of sale needs to send every evening send sales data and
to receive stock status from other points of sale.
This is implemented by sending and receiving zipped dbf files.
I can send email using wininet.dll direstly.
However, I do not know how to RECEIVE email in Windows 98
without Outlook Express or third party utilities.
If this is possible, i can stop using Outlook Express.
Also, received email may contain messagedes directed not to
my program. I use special subject line to find email directed
to program. I process and delete from inbox only those messages.
Andrus