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:
2 thoughts on “How to debug Email Event Receiver”
Just wanted to drop a quick cheers on this one, spent some time trying to debug, read this and did the “Doh!”
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.