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: BC30002: Type 'MailMessage' is not defined.

Source Error:


Line 58:         strBody &= "Which crops do you take : " & txtCrop.Text & vbCrLf
Line 59: 
Line 60:         Dim objMail As New MailMessage
Line 61: 
Line 62:         objMail.From = txtEmail.Text

Source File: d:\web\PODC\moff\moffindia.org\wwwroot\Inner\membership.aspx.vb    Line: 60





Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062