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

Source Error:


Line 67:             String emailCli = "[email protected]";
Line 68:             if (ClienteEmail.Text != "") emailCli = ClienteEmail.Text;
Line 69:             String erro = gen.EnviarEmail(strPath, "FaleConosco.htm", destino, "www.CAMINHOESeCARRETA.com.br: Ficha de Financiamento", emailCli, param);
Line 70: 
Line 71:             return true;

Source File: c:\inetpub\wwwroot\sys.autogerenciador.com.br\05\Ficha.aspx.cs    Line: 69






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