Hi,
I programmed an Access Database, from where I can create new e-mails via MAPI.
For this, I used the corresponding Microsoft ActiveX Controls (MAPISession and
MAPIMessage). For details please see the code below. The variable
"strEmpfaenger" contains the e-mail address of the recipient(s):
'open new mapi session:
Forms!frmkontakt.MAPISession.SignOn
'
'create new e-mail for editing, insert recipient's adress:
With Forms!frmkontakt.MAPIMessage
.MsgIndex = -1
.RecipDisplayName = strEmpfaenger
.SessionID = Forms!frmkontakt.MAPISession.SessionID
.Send vdialog:=True
End With
'close mapi session:
Forms!frmkontakt.MAPISession.SignOff
This code works fine with e.g. Eudora (another e-mail client), but with
Netscape (I tried the versions 6.2.2 and 7.0), I get the following problem:
- OK: the VBA code starts Netscape (default e-mail client)
- OK: the VBA code creates a new e-mail for editing
- PROBLEM: the new created e-mail does not contain the recipient's address
Can somebody help me? Is this a bug in Netscape's MAPI32.dll???
Thanks in advance,
Michael
P.S.: It would be nice if you could also anser to [EMAIL PROTECTED]