hi
while creating object of smtpclient class from crm plugin class (.cs file) i am getting following error
Request for the permission of type System.Net.Mail.SmtpPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Is there any solution for this

Piyush PansuriyaRank #454 · 5.5K reputationPosted Jan 30, 2015, 3:39 AM EST
Check .net framework version. It is matched with properties in solution.