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: BC30456: 'BodyFormat' is not a member of 'System.Net.Mail.MailMessage'.

Source Error:


Line 5:  	Dim testoMessaggio As String
Line 6:  	
Line 7:  	Message.BodyFormat = MailFormat.Html
Line 8:  	Message.To = "info@gsistemi.com"
Line 9:  	Message.From = "Sito G.Sistemi"

Source File: D:\inetpub\webs\gsistemicom\script\mail.vb    Line: 7







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