Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30389: 'System.Net.Mail.Message' is not accessible in this context because it is 'Friend'.

Source Error:


Line 48:         info = info & "Terms Of Use=" & Request.Form("TOU") & vbCrLf
Line 49:         
Line 50:         message.From = New Net.Mail.MailAddress("Info@StudioPlusSoftware.com")
Line 51:         message.To.Add(New Net.Mail.MailAddress("Info@StudioPlusSoftware.com"))
Line 52:         Dim messageSubject as String = "DataSafe Signup"

Source File: E:\StudioPlusWWW\help\datasafe_signup.aspx    Line: 50






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0