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

Source Error:


Line 150:
Line 151:                    objEmail.To.Add("arorars_05@yahoo.co.in");
Line 152:                    objEmail.Cc.Add(expertmail);
Line 153:                    objEmail.Subject = "'Request a Quote' from TaxFilingGuru.com";
Line 154:                    objEmail.IsBodyHtml = true;

Source File: d:\inetpub\vhosts\netsoft.in\taxfilingguru.com\custompackages.aspx.cs    Line: 152







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