New answers tagged

2

Try this method: Without attachment using SPUtility. private Boolean SendEmail() { try { bool flag = false; SPSecurity.RunWithElevatedPrivileges( delegate() { using (SPSite site = new SPSite( SPContext.Current.Site.ID, SPContext.Current.Site.Zone)) { using (SPWeb web = ...



Top 50 recent answers are included