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: CS0117: 'ASP.a_contact_us_aspx.General' does not contain a definition for 'SendEmail'

Source Error:


Line 29: 		//TrafficGen.Email em = new TrafficGen.Email();
Line 30: 		//em.Send(txtEmail.Text, EMAIL.MAIN, string.Empty, txtEmail.Text, txtSubject.Text, "SEND FROM ContactUs.aspx\r\n\r\n" + txtMessage.Text, string.Empty);
Line 31: 		General.SendEmail(EMAIL.MAIN, EMAIL.MAIN, string.Empty, txtEmail.Text, txtSubject.Text, "SEND FROM ContactUs.aspx\r\n\r\n" + txtMessage.Text, string.Empty);
Line 32: 
Line 33: 		pnlEmailForm.Visible = false;

Source File: c:\Websites\JavascriptCal\a\contact-us.aspx.cs    Line: 31






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