Send Email Failed.Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
I have got solution by setting hostname as relay-hosting.secureserver.net
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)