Merge pull request #2400 from esdrubal/extrahead
[mono.git] / mcs / class / System.Web / System.Web.Mail / SmtpMail.cs
index 954f9816a568a27d3812f129b7305494dc8c592c..3085a930752e064d21b8e45383793e6e4d0f7acc 100644 (file)
@@ -37,11 +37,7 @@ using System.Security.Permissions;
 namespace System.Web.Mail
 {
        // CAS
-       [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
-       [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
-#if NET_2_0
-       [Obsolete ("The recommended alternative is System.Net.Mail.SmtpClient.")]
-#endif
+       [Obsolete ("The recommended alternative is System.Net.Mail.SmtpClient. http://go.microsoft.com/fwlink/?linkid=14202")]
        public class SmtpMail
        {
                static string smtpServer = "localhost";