[spambayes-bugs] [ spambayes-Bugs-1103976 ] Outlook.exe will not terminate when launched via mailto

SourceForge.net noreply at sourceforge.net
Tue May 23 23:04:57 CEST 2006


Bugs item #1103976, was opened at 2005-01-17 07:56
Message generated for change (Comment added) made by seier
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1103976&group_id=61702

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Outlook
Group: 1.1.x
Status: Open
Resolution: None
Priority: 5
Submitted By: robert (elitemrp)
Assigned to: Kenny Pitt (kpitt)
Summary: Outlook.exe will not terminate when launched via mailto

Initial Comment:
I first ran into this problem a few months ago at work. 
But at the time I thought it was related to a custom 
program we run here. But now I noticed I can easily 
reproduce the problem on any computer running 
SpamBayes+Outlook 2003 on Windows XP.

Basically, I will open Outlook via the icon to read mail. I 
will then close Outlook, and if I have Task Manager 
open, I will see that Outlook.exe closes correctly.

Now if I launch a mailto: link (or use a program that 
launches a new mail), where the Compose Mail window 
opens, but not the actual outlook program, the problem 
occurs. If I close the compose mail window, by either 
clicking Send, or closing it without sending, the 
OUTLOOK.EXE task will not exit.

If I launch Outlook again, I'll now have multiple instances 
of OUTLOOK.EXE in task manager.

Now the multiple instances is what caused the problem 
with our custom software at work, but that has nothing 
to do with the fact that Outlook does not exit correctly 
when running Spambayes and having a program/mailto 
link open the Compose Mail window.

Yes I realize there have been 2 previous tickets about 
OUTLOOK.EXE closing, but none came to the conclusion 
that it's caused by a Compose Mail window. And both 
are closed without a solution.

I have tested this on several computers and have tried 
multiple things to try to fix it (such as renaming 
extend.dat and other files) and nothing seems to work.



----------------------------------------------------------------------

Comment By: Christian Blackburn (seier)
Date: 2006-05-23 14:04

Message:
Logged In: YES 
user_id=561770

Hi NyteTears,

> It seems that the spam filter in outlook is causing it to
>hang.

I wasn't able to reproduce this in Outlook 2003, which is
where the problem is at for most people.  Perhaps you'd like
to tell us what version you're using and the exact steps you
took to resolve this.  As far as I can tell the problem the
rest of us are experiencing is indeed related to SpamBayes'
plugin and not outlook itself, although I'm sure in the past
with all those security updates the scenario you've
described must have been true at least once.  

Thanks,
Christian Blackburn 

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2005-12-05 01:24

Message:
Logged In: YES 
user_id=552329

See also:

[ 1336405 ] Add-In breaks MAPI control
http://sourceforge.net/tracker/index.php?func=detail&aid=1336405&group_id=61702&atid=498104

----------------------------------------------------------------------

Comment By: Palio (nytetears)
Date: 2005-10-27 12:59

Message:
Logged In: YES 
user_id=1369127

I had this problem on my computer and tried removing various 
different program to fix it. Nothing worked. I have found it is 
not related to any program outside of outlook. It is an outlook 
problem. It seems that the spam filter in outlook is causing it 
to hang. Once I turned off the spam filter that came with 
outlook I never had the program hang once. I could not tell 
you why it does this or a fix for it beyond turning the option 
off but that is the cause of outlook remaining open in the task 
manager.

----------------------------------------------------------------------

Comment By: Kip Cartwright (kcartwri)
Date: 2005-03-29 16:26

Message:
Logged In: YES 
user_id=192708

I have the same problem on Outlook 2003.  No problem with 
Outlook XP (2002).  

----------------------------------------------------------------------

Comment By: fsnyder (fsnyder)
Date: 2005-02-25 14:00

Message:
Logged In: YES 
user_id=1227716

This behavior of the Outlook.exe not being stopped properly 
can be duplicated using the following VBScript code.

OPTION EXPLICIT
On error Resume Next
err.clear

Dim oOutlookApp, oOutlookNS

Set oOutlookApp = GetObject(,"Outlook.Application")
if Err <> 0 then
	MsgBox "Outlook not currently running." & VbCrLf 
& "Creating New Outlook Application.  I'll kill it when I'm done"
	set oOutlookApp = CreateObject
("Outlook.Application")
  else
  	MsgBox "Outlook was running.  I'll kill it anyway 
when I'm done."
End If

MsgBox oOutlookApp.name & " version# " &  
oOutlookApp.version
MsgBox "Now I'll kill the Outlook.exe process the clean way"

	oOutlookApp.Quit

set oOutlookNS = Nothing
set oOutlookApp = Nothing

MsgBox "END"

Run it and watch the TaskManager for when the Outlook.exe 
process gets created, and killed (as long as the SpamBayes 
Add-In is NOT activated in Outlook)

This should normally kill the process unless some other add-
in or anti-virus code is not allowing Outlook to exit cleanly.

Hope this Helps

-fsnyder

----------------------------------------------------------------------

Comment By: Hal Smith (bpu_webguy)
Date: 2005-02-03 10:00

Message:
Logged In: YES 
user_id=842378

One other source of hanging OL up, with or without 
Spambayes is ActiveSync for your PDA, celll phone or 
whatever.
AS does tend to work behind your back, a little bit.  One of 
the reasons I love Process Explorer from System Internals...
-h

----------------------------------------------------------------------

Comment By: Gil (spambayes411)
Date: 2005-02-02 02:52

Message:
Logged In: YES 
user_id=1210353

I've discovered this is not limited to the mailto function.
 I use a program called SynchPST to keep outlook sychronized
between my home computer and my laptop.  When SynchPST
opens, I see it in the task manager and it opens Outlook as
well.  After I synch my PST files, I close SynchPST.  It
closes but Outlook remains in the task manager.  If the
Spambayes add-in is not loaded, then both SynchPST and
Outlook quit as they should.

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2005-01-24 15:22

Message:
Logged In: YES 
user_id=552329

Thanks Kenny :)  I don't really know what might be causing
this, but I guess you could start by checking to see if the
spambayes log gets to the "addin terminating" part.  Let me
know if I can help at all (though I don't have OL2003 anywhere).

----------------------------------------------------------------------

Comment By: Kenny Pitt (kpitt)
Date: 2005-01-24 08:23

Message:
Logged In: YES 
user_id=859086

Yep, I was able to confirm this problem on Outlook 2003.

If I activate a mailto link with SpamBayes loaded and
enabled, OUTLOOK.EXE will not exit when I close the compose
window. If I disable SpamBayes filtering from SpamBayes
Manager, OUTLOOK.EXE still doesn't exit. If I completely
disable loading of SpamBayes from the COM Add-ins dialog
then OUTLOOK.EXE closes properly when I close the compose
window.

I'll look into this further when I get a chance.

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2005-01-23 21:53

Message:
Logged In: YES 
user_id=552329

Maybe this is specific to Outlook 2003 then?  Kenny: you've
got 2003, right?  Can you try and replicate this?

----------------------------------------------------------------------

Comment By: robert (elitemrp)
Date: 2005-01-21 03:49

Message:
Logged In: YES 
user_id=1198932

Yes, it only happens with SpamBayes installed.

I install SpamBayes, set up the toolbar, etc

Close Outlook, type mailto:blah at blah.com in a browser or click 
a mail link and it opens the Compose Mail window. Once I close 
this window, Outlook.exe ramains in the task list. If I click 
another mailto link I'll have 2 stuck open, then 3, etc

If I have only 1 process loaded and it's the main Outlook 
window, when I click a mailto link it will work fine since it 
doesn't load a separate outlook.exe process. It only does this 
when the main outlook program isn't loaded.

Once I uninstall SpamBayes or uncheck it in the COM Add-Ins 
area in Outlook, this problem goes away. As soon as I close a 
Compose Mail window, OUTLOOK.EXE terminates correctly.

I've tried this on several PCs, some with fresh installs of XP/
Outlook, some with several months old installs and other 
applications, it's the same on each.

Thanks

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2005-01-20 19:17

Message:
Logged In: YES 
user_id=552329

Have you tried this without SpamBayes installed?  I get the
same behaviour without SpamBayes, which says to me it's an
Outlook problem, not a SpamBayes one.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1103976&group_id=61702


More information about the Spambayes-bugs mailing list