Menu

#100 Add-In breaks MAPI control

closed
nobody
None
5
2014-06-20
2005-10-24
omegadcuk
No

This bug is fixed when spambayes is removed from the
machine and re-appears when re-installed.

I am running Windows XP SP1, Outlook 2003 SP1
(11.6359.6360)

I have a small .NET program to send mail via MAPI
which works perfectly, however when spambayes is
enabled it sends the email once and after that it fails
with 'Unspecified failure has occurred'.

I noticed that the 'Outlook.exe' has not been closed
whereas it is closed properly when spambayes is
removed.

It would seem that spambayes/outlook is somehow not
freeing all the references to the objects it has allocated
when it is called with CreateObject
("Application.Outlook") and the MAPI control's Send
method (with email dialog) is activated.

It has created a spambayes log file but it's identical to
the log file created when opening outlook normally so i
don't think its any use?

I can provide a short listing of the code being used for
VB6 if anyone is interested in trouble shooting this
problem?

Discussion

  • Tony Meyer

    Tony Meyer - 2005-12-05
    • status: open --> closed
     

Log in to post a comment.