New Mail Notification not occurring

D

Deb Miller

Thanks for your suggestion of turning off the firewall in SP2, Dmitry.
We went ahead and installed SP2 on our test machine. Once we got SP2
to work, we tested our Add-in. Even with the firewall turned on, we
can't duplicate the problem. So, now I'm believing that SP2 is not
the problem. Do you have any other ideas of what could be blocking a
new mail event? Is there a setting in Outlook that could be
configured differently by the user? We have an identical setup in
terms of the Outlook version. Unfortunately the user is in a remote
location so we can't physically see his machine.

Deb Miller
 
D

Deb Miller

We're using Outlook 2003 (11.6359.6360) SP1, on both the test machine
that works and on the user's machine that doesn't work. Neither are
running in offline mode. I've got a question into the user to find
out if he's using Exchange. We are not using Exchange on our test
setup. That's the only difference I can think of that might be
interfering with the new mail notification. I'd greatly appreciate
any other ideas!

Thanks,
Deb
 
D

Dmitry Streblechenko \(MVP\)

How do you actually track the event? Did you try to see if you can see the
new mail event on the ExtendedMAPI level? If you have OutlookSpy installed,
click IMsgStore (when you are in the defautl store) and go to the
IMsgStore::Advise tab; check if the fnevNewMail event will be there when the
new mail arrives.
Does Outlook itself display the new mail notification Ok?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
D

Deb Miller

The code is basically as follows:

Private Sub objOLApp_NewMail()
On Error GoTo NewMailError
'DO WORK OF THE ADD-IN
Exit Sub

NewMailError:
MsgBox ("The Pensieve Add-in has encountered an error, number " &
Err.Number & ". Please contact (e-mail address removed)")
Resume Next
End Sub

We don't get an error and the "work" part never happens. This add-in
is installed at a number of users without any problems. We aren't
using ExtendedMAPI. Because it's a problem at a specific user's site,
we don't have the ability to install OutlookSpy.

The user believes that his site is using Exchange (although he's not
completely sure). I found the following references to Exchange not
sending new mail notifications:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;811061 and
http://support.microsoft.com/kb/264035/EN-US/ and
http://support.microsoft.com/?kbid=815052

I'm wondering if this could be the problem. If so, it may be
difficult to solve, as we'll need to get to the Exchange admin. Other
thoughts?

Thanks for your continuing help.

Deb
 
D

Deb Miller

Hi, Dmitry. I've been away from this for the last week, so am just
getting back to trying to figure it out. Outlook is receiving new
mail without a problem. In fact, it receives the emails we send it for
the add-in. Our add-in just doesn't process the emails and doesn't
get any errors. We know the add-in is loaded and active, because we
have a command bar button that is working. The command bar button
only does a system info display -- it's just there so that we can
ensure that the add-in is loaded on remote systems like this one.

Deb
 
D

Dmitry Streblechenko \(MVP\)

I don't know... You really need to look at the customer's machine to see
what's going on if you cannot reproduce this inhouse.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top