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: CS1501: No overload for method 'EnviarEmail' takes 14 arguments

Source Error:


Line 66:             String mensagem = "<html><body> " + "Há testemunhos novos para serem aprovados." + " </body></html>";
Line 67: 
Line 68:             EnviaEmail.Instance().EnviarEmail(ConfigurationManager.AppSettings["EmailFrom"], ConfigurationManager.AppSettings["EmailFromNome"], ConfigurationManager.AppSettings["EmailToPadrao"], ConfigurationManager.AppSettings["EmailCopiaOculta"], "Testemunho", mensagem, true, password, username, null, port, host, ssl, DefaultCreden);
Line 69:         }
Line 70:         catch (Exception ex)

Source File: c:\inetpub\vhosts\nscandelaria.org.br\httpdocs\controles\Testemunho.ascx.cs    Line: 68





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