I am trying to use simple MAPI to send out emails on Mozilla build
0.9.4.1 (and on Netscape 6.2) on my Win2k machine, but I kept getting
strange errors.  I have set up the default mail client correctly, and
I have set the environment variable "mapi.blind-send.enabled" to true
in winpref.js

Scenarios:
1) When Mozilla is up and running, after successfully sending the
email by calling MAPISendMail( ), then suddenly Mozilla (in debug
mode) abnormally aborts the program.  (In the case of running Netscape
6.2, the program just hangs.)

2) When Mozilla has not been started, calling MAPILogon( ) results
with a warning message "dependent window created without a parent". 
Then the operation MAPISendMail( ) returns MAPI_E_FAILURE due to some
code trying to get the parent which isn't there.  For those who have
the code, it's in /mailnews/mapi/mapihook/msgMapiHook.cpp
nsMapiHook::BlindSendMail( ).

Does anybody knows if I did something wrong or if there's a patch or
something for this?  Is there a bug filed on bugzilla already?  (I
cannot find one... but I am a newbie...)

Thanks!!

Henry Au

Reply via email to