I have an event receiver.On item updated event i am firing email.condition is like this: I have an document library with two Yes/No columns(i.e Notification & IsActive).If both these conditions are true ,then email will trigger.Its working fine.On item adding event i am changing value of IsActive column to false.It is also working fine.But when I am uploading multiple documents to document library email is not triggerring.I debugged and saw that debugger is not going to the send mail method.If any body knows pls guide.
If your library is configured to require checking out files, your event receiver only fires after an item is updated which happens after item check-in. When you upload multiple documents, the event is not fired until the change is checked in.
You may have more luck with the ItemUpdating. This may fire before the check-in.