I created a simple event receiver of
SPEmailEventReceiver. But while creating it, Visual Studio did not ask me on which list/library it needs to be attached. In PowerShell I know that I can get event receivers like this.
$site = Get-SPSite -Identity "SITE" $web = $site.RootWeb $list = $web.Lists["LIST/LIBRARY"] $list.EventReceivers | Select assembly, name, type
But how can I check where the
SPEmailEventReceiver event receiver is attached?
I have used
ListTemplateId="101" while defining the event receiver so this should be applicable to all lists/libraries, right? For this how to know check where the event receiver is attached?