Exception
ExceptionType=System.InvalidOperationExceptionJSONMessage=Operation is not valid due to the current state of the object.
Cause:
I tried to call SPUtility.SendEmail within the RunWithElevatedPrivileges delegate.Comments
If i try to run this method out of Elevated delegate, it works fine. All the other things that are working fine in Elevated Privileges (except send email) are,- SPUtility.GetPrincipalsInGroup
- spWeb.EnsureUser