How to debug Email Event Receiver

Normally when you debug an event receiver in SharePoint, you attach your debugger with w3wp.exe process. But email received event is not processed by this process.

Instead, you need to attach your debugger with OWSTIMER.exe process. This is the “Windows SharePoint Services Timer” service.

If this process is not listed in your processes list then click on “Show processes from all users” to display all processes similar to following:

OWSTimer image

Share

2 thoughts on “How to debug Email Event Receiver”

  1. Just wanted to drop a quick cheers on this one, spent some time trying to debug, read this and did the “Doh!”

  2. i hv done all the things but i m not able to debug the email event receiver class.

    Plz do some needfull.

Comments are closed.

Share via
Copy link
Powered by Social Snap