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: CS1061: 'SendMail' does not contain a definition for 'SendEmailAdmin' and no extension method 'SendEmailAdmin' accepting a first argument of type 'SendMail' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 680:
Line 681:                    SendMail SM = new SendMail();
Line 682:                    SM.SendEmailAdmin(UserID, CC, Subject, body);
Line 683:                }
Line 684:                catch (Exception ex)

Source File: c:\inetpub\vhosts\techcanvass.co\httpdocs\Login.aspx.cs    Line: 682






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