Tuesday, September 30, 2014

Email handler SPEmailEventReceiver does not work in multiple server farm setup

I came across this situation after developing an email event receiver on dev with standalone sharepoint 2010 installation which was working perfectly fine, but for some reason it was not being fired at all when deployed to the live server with multiple server sharepoint farm. All other things were absolutely fine with the live server and the document library would receive email using OOTB email receiving settings.

After searching a lot through intenet and scraching my head, I came across this post which explains the reason and solution. Thank you Benjamin

http://blog.creative-sharepoint.com/2012/01/sharepoint-2010-email-event-reciever-not-working-in-a-farm/

On another note, a web.config modification also needs to be deployed in a different way on multiple server farm setup. The post below explains just that

http://blogs.msdn.com/b/malag/archive/2009/05/22/spwebconfigmodification-does-not-work-on-farms-with-multiple-wfes.aspx

No comments:

Regex obfuscate email

 Use this code in C# to obfuscate email using regex // Online C# Editor for free // Write, Edit and Run your C# code using C# Online Compile...