diff --git a/mailnews/local/src/nsNoIncomingServer.cpp b/mailnews/local/src/nsNoIncomingServer.cpp index 164df31297d0..696f3d9a2521 100644 --- a/mailnews/local/src/nsNoIncomingServer.cpp +++ b/mailnews/local/src/nsNoIncomingServer.cpp @@ -251,9 +251,12 @@ NS_IMETHODIMP nsNoIncomingServer::CreateDefaultMailboxes(nsIFileSpec *path) } NS_IMETHODIMP nsNoIncomingServer::GetNewMail(nsIMsgWindow *aMsgWindow, nsIUrlListener *aUrlListener, nsIMsgFolder *aInbox, nsIURI **aResult) -{ - // do nothing, there is no new mail for this incoming server, ever. - return NS_OK; +{ + // listener might be counting on us to send a notification. + if (aUrlListener) + aUrlListener->OnStopRunningUrl(nsnull, NS_OK); + // do nothing, there is no new mail for this incoming server, ever. + return NS_OK; } // the "none" server does not support filters, because