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: 'sendmail' does not contain a definition for 'SenderMail'

Source Error:


Line 89:                         msgActbody += " <tr><td style='font-weight:bold;color: Navy;padding-top:15px'>Username : " + TxtUname.Text.ToString() + "</td></tr>";
Line 90:                         msgActbody += " <tr><td style='font-weight:bold;color: Navy'>Password : " + TxtPwd.Text.ToString() + "</td></tr>";
Line 91:                         sendmail.SenderMail(TxtEmail.Text, "Registration was successful", msgActbody, adminmail);
Line 92: 
Line 93: 

Source File: g:\pleskvhosts\alohadata.com\httpdocs\Registration.aspx.cs    Line: 91






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